Skip to content

Commit

Permalink
paths added
Browse files Browse the repository at this point in the history
  • Loading branch information
Berat Genç authored and Berat Genç committed Jan 18, 2024
1 parent 0565232 commit e7ad19b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit e7ad19b

Please sign in to comment.