From f72047b18e5875895ed364a85fc8f4aa30b1b6d2 Mon Sep 17 00:00:00 2001 From: Joe Arndt Date: Thu, 12 Feb 2026 14:56:29 -0600 Subject: [PATCH] enabling cors --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index d104832..fcba9d5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,6 +4,7 @@ import { NestExpressApplication } from '@nestjs/platform-express'; async function bootstrap(): Promise { const app = await NestFactory.create(AppModule); + app.enableCors(); app.setGlobalPrefix(process.env.PREFIX ?? 'common-cents'); await app.listen(process.env.PORT ?? 3000); }