From 65dec25059f3c7b3a20d8c60e79b87266dcb8b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berat=20Gen=C3=A7?= Date: Thu, 18 Jan 2024 13:45:11 +0300 Subject: [PATCH] update origin --- src/main.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 2adb1c6..baf032c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,10 +4,7 @@ import { AppModule } from './app.module' async function bootstrap() { const app = await NestFactory.create(AppModule) app.enableCors({ - origin: [ - 'https://task-manager-frontend-7egxgsovaq-ew.a.run.app/', - 'app.taskermanager.online' - ] + origin: 'https://app.taskermanager.online/' }) console.log(`--- app is listening oooon ${process.env.PORT}`) await app.listen(process.env.PORT ?? 3001)