diff --git a/src/app.js b/src/app.js index fb8e041..550bec1 100644 --- a/src/app.js +++ b/src/app.js @@ -23,6 +23,8 @@ import "./models/index" const PORT = process.env.PORT || 3000 const app = Express() +app.set("trust proxy", 1) + app.use(json()) app.use(cors()) app.use(helmet())