Skip to content

Commit

Permalink
feat: open cors
Browse files Browse the repository at this point in the history
  • Loading branch information
iaurg committed Nov 23, 2023
1 parent 05ca1d7 commit f69b219
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ async function bootstrap() {
);

app.enableCors({
origin: [
process.env.FRONTEND_URL,
'http://localhost:3000',
'http://42transcendence.me',
'http://www.42transcendence.me',
'http://api.42transcendence.me',
'https://42transcendence.me',
'https://www.42transcendence.me',
'https://api.42transcendence.me',
],
origin: ['*'],
credentials: true,
});

Expand Down

0 comments on commit f69b219

Please sign in to comment.