IO-2060 Add missing etag removal.

This commit is contained in:
Patrick Fic
2022-09-22 10:47:39 -07:00
parent 8b57c9c19a
commit 3ef5d4200e

View File

@@ -168,7 +168,10 @@ app.get(
);
InitServer();
app.use(FolderPaths.StaticPath, express.static(FolderPaths.Root, {}));
app.use(
FolderPaths.StaticPath,
express.static(FolderPaths.Root, { etag: false, maxAge: 30 * 1000 })
);
app.use(
"/assets",
express.static("./assets", { etag: false, maxAge: 30 * 1000 })