Skip to content

Commit

Permalink
[DEL] 쿠키 허용 조건 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeon-z committed Sep 14, 2022
1 parent 89c50ff commit dc5db36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ dotenv.config();

app.use(
cors({
credentials: true,
origin: [
'http://localhost:3000',
'https://www.packman.kr',
config.baseUrl,
'https://api.packman.kr',
'https://packman-beryl.vercel.app',
],
optionsSuccessStatus: 200
optionsSuccessStatus: 200,
}),
);

Expand Down

0 comments on commit dc5db36

Please sign in to comment.