1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-17 16:08:12 +03:00

fix(core): Cache issue (no-changelog) (#9173)

This commit is contained in:
Michael Kret 2024-04-19 11:58:18 +03:00 committed by GitHub
parent 699fd70c24
commit 91e59120c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -355,7 +355,7 @@ export class Server extends AbstractServer {
}
const maxAge = Time.days.toMilliseconds;
const cacheOptions = inE2ETests ? {} : { maxAge };
const cacheOptions = inE2ETests || inDevelopment ? {} : { maxAge };
const { staticCacheDir } = Container.get(InstanceSettings);
if (frontendService) {
const serveIcons: express.RequestHandler = async (req, res) => {