diff --git a/apps/gateway/src/main.ts b/apps/gateway/src/main.ts index 37b744b5ef6253acdda665b7b2002343930132c2..c6f57ec747662b0b8ee685d0811a4285cfbbf104 100644 --- a/apps/gateway/src/main.ts +++ b/apps/gateway/src/main.ts @@ -21,6 +21,7 @@ async function bootstrap() { const gatewayConfig = configService.get<IGateway>("gateway")!; const globalPrefix = "api"; + app.enableCors(); app.setGlobalPrefix(globalPrefix); app.enableShutdownHooks();