update `Cache-Control` for tracker script
parent
0f976be5d8
commit
a4fe656ca9
|
@ -57,6 +57,16 @@ module.exports = {
|
|||
source: '/:path*',
|
||||
headers,
|
||||
},
|
||||
{
|
||||
source: '/umami.js',
|
||||
headers: [
|
||||
...headers,
|
||||
{
|
||||
key: 'Cache-Control',
|
||||
value: 'public, max-age=86400',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
async rewrites() {
|
||||
|
|
Loading…
Reference in New Issue