Skip to content

Commit

Permalink
commit first and then change env
Browse files Browse the repository at this point in the history
  • Loading branch information
bakgom123 committed Dec 19, 2024
1 parent bf30c10 commit d314824
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 @@ -55,7 +55,7 @@ app.use(
'/uploads',
(req, res, next) => {
// 배열로 처리
const allowedOrigins = ['http://43.203.237.161', 'http://43.203.237.161:3002', 'http://kakao-community-docker-env.eba-fmgi3uwj.ap-northeast-2.elasticbeanstalk.com'];
const allowedOrigins = ['http://43.203.237.161','http://kakao-community-docker-env.eba-fmgi3uwj.ap-northeast-2.elasticbeanstalk.com'];
const origin = req.headers.origin;

if (allowedOrigins.includes(origin)) {
Expand Down

0 comments on commit d314824

Please sign in to comment.