diff --git a/backend/app.js b/backend/app.js index 07869c41a..e1cbfef90 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1,5 +1,5 @@ import cors from "cors"; -// import helmet from "helmet"; +import helmet from "helmet"; import addApiRoutes from "./api/routes"; import express, { urlencoded, json } from "express"; import contextMiddleware from "./middlewares/context"; @@ -11,7 +11,7 @@ function buildApp() { app.use(urlencoded({ extended: true })); app.use(json()); app.use(cors()); - // app.use(helmet()); + app.use(helmet()); app.set("trust proxy", 1);