Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
hotfix(performance): added compression false flag to Next.js config a…
Browse files Browse the repository at this point in the history
…s to prevent duplicate compression strategies; (#4652)

Co-authored-by: VWSCoronaDashboard26 <[email protected]>
  • Loading branch information
1 parent 104885f commit ae7e217
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ const nextConfig = {
*/
reactStrictMode: true,

/**
* This flag has been added for testing purposes as requested by BE.
* This disables compression as to prevent possible issues introduced by duplicate
* compression strategies (in both BE and FE).
* https://nextjs.org/docs/api-reference/next.config.js/compression
*/
compress: false,

i18n: {
// These are all the locales you want to support in
// your application
Expand Down

0 comments on commit ae7e217

Please sign in to comment.