fix: remove client compression script

This commit is contained in:
Philipinho
2026-08-25 15:43:47 +01:00
parent 83d7ee4460
commit 14840ef065
3 changed files with 1 additions and 50 deletions
@@ -71,7 +71,6 @@ export class StaticModule implements OnModuleInit {
await app.register(fastifyStatic, {
root: clientDistPath,
wildcard: false,
preCompressed: true,
setHeaders: (reply: any, pathName: string) => {
// Vite content-hashes everything under /assets, so they can be cached forever
if (/[\\/]assets[\\/]/.test(pathName)) {