This commit is contained in:
Erik 2024-01-17 19:13:46 +02:00
parent cd32967f72
commit 8bb909367c

View File

@ -41,7 +41,7 @@ class Home extends Endpoint
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @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 }) ]);
} }
} }
} }