Skip to content

Commit

Permalink
Merge pull request #664 from sandboxnu/christina/add-vercel-to-allowl…
Browse files Browse the repository at this point in the history
…ist-cors-temp

feat: allow temp vercel URL as origin (CORS)
  • Loading branch information
Christinarlong authored Nov 18, 2023
2 parents 1ac462b + e389517 commit cdb0146
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 cdb0146

Please sign in to comment.