fix: remove client compression script (#2428)

This commit is contained in:
Philip Okugbe
2026-08-25 17:31:49 +01:00
committed by GitHub
parent 83d7ee4460
commit 56474e5b70
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)) {