fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.41', | ||||
|   version: '2.0.42', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
| @@ -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( | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.41', | ||||
|   version: '2.0.42', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user