diff --git a/next.config.js b/next.config.js index 0401516c..78f759f5 100644 --- a/next.config.js +++ b/next.config.js @@ -57,6 +57,16 @@ module.exports = { source: '/:path*', headers, }, + { + source: '/umami.js', + headers: [ + ...headers, + { + key: 'Cache-Control', + value: 'public, max-age=86400', + }, + ], + }, ]; }, async rewrites() {