diff --git a/src/server/endpoints/pages/Home.ts b/src/server/endpoints/pages/Home.ts index 784f265..96edd69 100644 --- a/src/server/endpoints/pages/Home.ts +++ b/src/server/endpoints/pages/Home.ts @@ -41,7 +41,7 @@ class Home extends Endpoint // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - server.app.use(`/${file}`, [ this.#checkAuth.bind(this), express.static(p) ]); + server.app.use(`/${file}`, [ this.#checkAuth.bind(this), express.static(p, { maxAge: DAY }) ]); } } }