dark mode shouldn't be cached forever

This commit is contained in:
keyan 2023-07-05 09:40:34 -05:00
parent f417092107
commit 56197ce9a4
1 changed files with 1 additions and 5 deletions

View File

@ -40,11 +40,7 @@ module.exports = withPlausibleProxy()({
{
source: '/darkmode.js',
headers: [
...corsHeaders,
{
key: 'Cache-Control',
value: 'public, max-age=31536000, immutable'
}
...corsHeaders
]
},
{