mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-09 17:33:55 +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,
|
||||
},
|
||||
}),
|
||||
compression({ algorithm: 'brotliCompress' }),
|
||||
compression({
|
||||
algorithm: 'brotliCompress',
|
||||
exclude: /\.(html)$/, // Exclude HTML files from compression so we can change the base property at runtime
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
port: 3000,
|
||||
|
||||
Reference in New Issue
Block a user