diff --git a/apps/gateway/src/main.ts b/apps/gateway/src/main.ts index d3a8067253601de937ee6c35241605046973b427..61bd60b9314e9fd8d44cb94e13958378d1382d3a 100644 --- a/apps/gateway/src/main.ts +++ b/apps/gateway/src/main.ts @@ -17,6 +17,7 @@ import * as fs from "fs"; async function bootstrap() { const app = await NestFactory.create(AppModule); + app.enableCors(); app.useWebSocketAdapter(new WsAdapter(app)); const configService = app.get(ConfigService);