Commit 714309db authored by nanahira's avatar nanahira

fix

parent d67bc68c
Pipeline #8749 passed with stages
in 1 minute and 21 seconds
......@@ -40,7 +40,7 @@ export class KoishiService
...koishiModuleOptions,
port: 1,
});
this.options.baseDir ||= process.cwd();
this.baseDir ??= process.cwd();
this.globalInterceptors = this.koishiModuleOptions.globalInterceptors || [];
this.router = new Router();
this._nestKoaTmpInstance.use(KoaBodyParser());
......
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