mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(core): Cache issue (no-changelog) (#9173)
This commit is contained in:
parent
699fd70c24
commit
91e59120c4
|
@ -355,7 +355,7 @@ export class Server extends AbstractServer {
|
||||||
}
|
}
|
||||||
|
|
||||||
const maxAge = Time.days.toMilliseconds;
|
const maxAge = Time.days.toMilliseconds;
|
||||||
const cacheOptions = inE2ETests ? {} : { maxAge };
|
const cacheOptions = inE2ETests || inDevelopment ? {} : { maxAge };
|
||||||
const { staticCacheDir } = Container.get(InstanceSettings);
|
const { staticCacheDir } = Container.get(InstanceSettings);
|
||||||
if (frontendService) {
|
if (frontendService) {
|
||||||
const serveIcons: express.RequestHandler = async (req, res) => {
|
const serveIcons: express.RequestHandler = async (req, res) => {
|
||||||
|
|
Loading…
Reference in a new issue