Browse Source

fix(nocodb): typescript issue

pull/5903/head
Wing-Kam Wong 2 years ago
parent
commit
ecac4572a1
  1. 3
      packages/nocodb/src/nocobuild.ts

3
packages/nocodb/src/nocobuild.ts

@ -3,7 +3,8 @@ import express from 'express';
import NcToolGui from 'nc-lib-gui';
import { AppModule } from './app.module';
export default async function (app = express()) {
export default async function (app) {
if (!app) app = express();
const nestApp = await NestFactory.create(AppModule);
await nestApp.init();

Loading…
Cancel
Save