Skip to content

Commit

Permalink
made sure that nuxt serves assets with compression
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Apr 11, 2024
1 parent 5ab933a commit 72ab423
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webclient/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ export default defineNuxtConfig({
fallback: "light",
},
content: {},
nitro: {
compressPublicAssets: {
gzip: true,
brotli: true,
},
},
routeRules: {
"/": { prerender: true },
"/about/**": { prerender: true },
Expand Down

0 comments on commit 72ab423

Please sign in to comment.