update Cache-Control for tracker script

This commit is contained in:
rohandebsarkar 2022-08-22 18:22:11 +05:30
parent 0f976be5d8
commit a4fe656ca9
No known key found for this signature in database
GPG key ID: 3DA3229799D1A181

View file

@ -57,6 +57,16 @@ module.exports = {
source: '/:path*', source: '/:path*',
headers, headers,
}, },
{
source: '/umami.js',
headers: [
...headers,
{
key: 'Cache-Control',
value: 'public, max-age=86400',
},
],
},
]; ];
}, },
async rewrites() { async rewrites() {