mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
update Cache-Control for tracker script
This commit is contained in:
parent
0f976be5d8
commit
a4fe656ca9
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue