Skip to content

Commit

Permalink
feat: cors 관련 설정을 제거합니다. 게이트웨이만 이용합니다
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero-1016 committed Mar 3, 2025
1 parent c31d641 commit fb364dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/backend/auth-server/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,8 @@ app.register(currentAuthPlugin);
app.register(routes);

app.register(cors, {
origin: ['http://localhost:5173', 'https://bbebig.netlify.app'],
origin: false,
credentials: true,
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization', 'Origin', 'Accept'],
exposedHeaders: ['Set-Cookie'],
preflightContinue: true,
});

app
Expand Down

0 comments on commit fb364dc

Please sign in to comment.