dark mode shouldn't be cached forever
This commit is contained in:
parent
f417092107
commit
56197ce9a4
|
@ -40,11 +40,7 @@ module.exports = withPlausibleProxy()({
|
||||||
{
|
{
|
||||||
source: '/darkmode.js',
|
source: '/darkmode.js',
|
||||||
headers: [
|
headers: [
|
||||||
...corsHeaders,
|
...corsHeaders
|
||||||
{
|
|
||||||
key: 'Cache-Control',
|
|
||||||
value: 'public, max-age=31536000, immutable'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue