diff --git a/backend/src/main.ts b/backend/src/main.ts index 7e88829e..497a245b 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -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, });