mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-24 16:39:13 +00:00
refactor: exclude html from compression
This commit is contained in:
committed by
Carlos Valente
parent
6e51e5083b
commit
85b71627a8
@@ -33,7 +33,10 @@ export default defineConfig({
|
|||||||
excludeReplayWorker: true,
|
excludeReplayWorker: true,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
compression({ algorithm: 'brotliCompress' }),
|
compression({
|
||||||
|
algorithm: 'brotliCompress',
|
||||||
|
exclude: /\.(html)$/, // Exclude HTML files from compression so we can change the base property at runtime
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
server: {
|
server: {
|
||||||
port: 3000,
|
port: 3000,
|
||||||
|
|||||||
Reference in New Issue
Block a user