diff --git a/src/main.ts b/src/main.ts index c63bd6e..2adb1c6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,7 +3,12 @@ import { AppModule } from './app.module' async function bootstrap() { const app = await NestFactory.create(AppModule) - app.enableCors({ origin: 'http://localhost:3002' }) + app.enableCors({ + origin: [ + 'https://task-manager-frontend-7egxgsovaq-ew.a.run.app/', + 'app.taskermanager.online' + ] + }) console.log(`--- app is listening oooon ${process.env.PORT}`) await app.listen(process.env.PORT ?? 3001) }