mirror of
https://github.com/docmost/docmost.git
synced 2026-08-27 08:47:06 +08:00
fix: remove client compression script (#2428)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user