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',
 | 
			
		||||
        headers: [
 | 
			
		||||
          ...corsHeaders,
 | 
			
		||||
          {
 | 
			
		||||
            key: 'Cache-Control',
 | 
			
		||||
            value: 'public, max-age=31536000, immutable'
 | 
			
		||||
          }
 | 
			
		||||
          ...corsHeaders
 | 
			
		||||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user