Skip to content

Commit

Permalink
Merge pull request #435 from sparcs-kaist/dev
Browse files Browse the repository at this point in the history
Main branch update from Dev branch
  • Loading branch information
14KGun authored Nov 14, 2023
2 parents a1c76cd + 4162a71 commit f673b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.use(express.urlencoded({ extended: false }));
app.use(express.json());

// reverse proxy가 설정한 헤더를 신뢰합니다.
if (nodeEnv === "production") app.set("trust proxy", 1);
if (nodeEnv === "production") app.set("trust proxy", 2);

// [Middleware] CORS 설정
app.use(require("./src/middlewares/cors"));
Expand Down

0 comments on commit f673b4f

Please sign in to comment.