[build] command = "npm run build" publish = "dist/client" # Disable Netlify’s default trailing slash redirects [context.production.environment] TRAILING_SLASH = "ignore" [[redirects]] from = "/sitemap.xml" to = "/sitemap.xml" status = 200 [[headers]] for = "/assets/*" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/*.png" [headers.values] Cache-Control = "public, max-age=86400" [[headers]] for = "/*.ico" [headers.values] Cache-Control = "public, max-age=86400" [[headers]] for = "/*" [headers.values] Cache-Control = "no-cache, no-store, must-revalidate"