Browse Source

refactor(nocodb): remove unused PublicMiddleware

pull/5721/head
Wing-Kam Wong 1 year ago
parent
commit
1a871e9bdb
  1. 2
      packages/nocodb/src/app.module.ts

2
packages/nocodb/src/app.module.ts

@ -59,8 +59,6 @@ export class AppModule {
consumer consumer
.apply(GuiMiddleware) .apply(GuiMiddleware)
.forRoutes({ path: '*', method: RequestMethod.GET }) .forRoutes({ path: '*', method: RequestMethod.GET })
.apply(PublicMiddleware)
.forRoutes({ path: '*', method: RequestMethod.GET })
.apply(GlobalMiddleware) .apply(GlobalMiddleware)
.forRoutes({ path: '*', method: RequestMethod.ALL }); .forRoutes({ path: '*', method: RequestMethod.ALL });
} }

Loading…
Cancel
Save