Skip to content

Commit

Permalink
server origins added
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayahhhmed committed Jun 15, 2024
1 parent 697521b commit db5e680
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ async function bootstrap() {
app.setGlobalPrefix('api');
app.enableCors({
origin: [
// 'http://localhost:5173',
// 'https://notanglesstaging.devsoc.app',
// 'https://notangles.devsoc.app/',
'*',
'http://localhost:5173',
'https://notanglesstaging.devsoc.app',
'https://notangles.devsoc.app/',
],
credentials: true, // Allow credentials (e.g., cookies) to be sent with the request
});
Expand Down

0 comments on commit db5e680

Please sign in to comment.