Browse Source

chore: remove commented code

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6718/head
Pranav C 1 year ago
parent
commit
49d0ff346d
  1. 7
      packages/nocodb/src/Noco.ts

7
packages/nocodb/src/Noco.ts

@ -97,10 +97,7 @@ export default class Noco {
}
static async init(param: any, httpServer: http.Server, server: Express) {
const nestApp = await NestFactory.create(
AppModule,
// new ExpressAdapter(server),
);
const nestApp = await NestFactory.create(AppModule);
if (process.env.NC_WORKER_CONTAINER === 'true') {
if (!process.env.NC_REDIS_URL) {
@ -118,8 +115,6 @@ export default class Noco {
nestApp.use(requestIp.mw());
nestApp.use(cookieParser());
// this.initSentry(nestApp);
nestApp.useWebSocketAdapter(new IoAdapter(httpServer));
nestApp.use(

Loading…
Cancel
Save