From d309b444807798421321f80dfdb7a44ce97d7210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Taj=C3=A8?= Date: Mon, 30 Sep 2024 12:16:48 +0200 Subject: [PATCH] IMN-845 Disable Etag (#1037) Co-authored-by: Vittorio Caprio --- packages/backend-for-frontend/src/app.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend-for-frontend/src/app.ts b/packages/backend-for-frontend/src/app.ts index 4667851ddf..b38b6e9908 100644 --- a/packages/backend-for-frontend/src/app.ts +++ b/packages/backend-for-frontend/src/app.ts @@ -50,6 +50,8 @@ const redisRateLimiter = await initRedisRateLimiter({ // See https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html#recommendation_16 app.disable("x-powered-by"); +app.disable("etag"); + app.use(loggerMiddleware(serviceName)); app.use(multerMiddleware);