Skip to content

Commit

Permalink
feat: allow temp vercel URL as origin (CORS)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejianu committed Nov 18, 2023
1 parent 1ac462b commit e389517
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/api-v2/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ async function bootstrap() {

const app = await NestFactory.create(AppModule, {
logger: graduateLogger,
cors: {
origin:
"https://graduatenu-frontend-v2-git-christina-move-fro-b625a5-sandboxneu.vercel.app",
},
});

/**
Expand Down

0 comments on commit e389517

Please sign in to comment.