Skip to content

Commit

Permalink
IMN-845 Disable Etag (#1037)
Browse files Browse the repository at this point in the history
Co-authored-by: Vittorio Caprio <[email protected]>
  • Loading branch information
sandrotaje and Viktor-K authored Sep 30, 2024
1 parent 6679728 commit d309b44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend-for-frontend/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d309b44

Please sign in to comment.