fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-30 19:40:41 +02:00
parent 0704febfc0
commit c7e40e4cde
3 changed files with 5 additions and 5 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.41',
version: '2.0.42',
description: 'easy serving of static files'
}

View File

@ -74,15 +74,15 @@ export class TypedServer {
const standardOptions: IServerOptions = {
injectReload: true,
port: 3000,
serveDir: process.cwd(),
watch: true,
serveDir: null,
watch: false,
cors: true,
};
this.options = {
...standardOptions,
...optionsArg,
};
this.server = new servertools.Server(this.options);
// add routes to the smartexpress instance
this.server.addRoute(

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.41',
version: '2.0.42',
description: 'easy serving of static files'
}