Skip to content

Commit

Permalink
cors domain changed
Browse files Browse the repository at this point in the history
  • Loading branch information
bakgom123 committed Jan 4, 2025
1 parent 2121d8c commit c4f825e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PORT = process.env.PORT || 3000;
dotenv.config();

app.use(cors({
origin: ['http://43.203.237.161', 'http://43.203.237.161:3002'], // 프론트엔드 도메인
origin: ['http://43.203.237.161', 'http://David-kakao-community-env-front.eba-xxxxxx.elasticbeanstalk.com'], // 프론트엔드 도메인
credentials: true // 쿠키/세션 허용
}));

Expand Down

0 comments on commit c4f825e

Please sign in to comment.