Skip to content

Commit

Permalink
update origin
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 e7ad19b commit 65dec25
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 65dec25

Please sign in to comment.