diff --git a/lib/service/CoaHttp.ts b/lib/service/CoaHttp.ts index c58cfbd..51ddd8c 100644 --- a/lib/service/CoaHttp.ts +++ b/lib/service/CoaHttp.ts @@ -64,6 +64,7 @@ export class CoaHttp { }) // 注册常用路由 this.router.on('GET', baseUrl + 'version', async () => this.env.version) + this.router.on('ALL', '/', async () => '') this.router.on('GET', '/health', async () => '') this.router.on('GET', '/favicon.ico', async () => '') }