Commit 12868c5c authored by nanahira's avatar nanahira

fix

parent 2570cc85
......@@ -36,7 +36,7 @@ export class KoishiService
...koishiModuleOptions,
port: 0,
});
this.globalInterceptors = this.globalInterceptors;
this.globalInterceptors = this.koishiModuleOptions.globalInterceptors || [];
this.router = new Router();
this._nestKoaTmpInstance.use(KoaBodyParser());
this._nestKoaTmpInstance.use(this.router.routes());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment