Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fixed headers.
Mike Caofb0ff247a850
diff --git a/next.config.js b/next.config.jsindex 21601b7fd..5e3a1225b 100644--- a/next.config.js+++ b/next.config.js@@ -53,6 +53,10 @@ const trackerHeaders = [key: 'Access-Control-Allow-Origin',value: '*',},+ {+ key: 'Cache-Control',+ value: 'public, max-age=86400, must-revalidate',+ },];const headers = [@@ -189,22 +193,7 @@ const config = {return config;},async headers() {- return [- {- source: '/:path*',- headers,- },- {- source: '/script.js',- headers: [- ...headers,- {- key: 'Cache-Control',- value: 'public, max-age=86400, must-revalidate',- },- ],- },- ];+ return headers;},async rewrites() {return [