{ "version": 2, "buildCommand": "npm ci --prefix webui && npm run build --prefix webui", "outputDirectory": "static/admin", "functions": { "api/index.go": { "includeFiles": "static/admin/**" } }, "rewrites": [ { "source": "/(.*)", "destination": "/api/index" } ], "headers": [ { "source": "/admin/assets/(.*)", "headers": [ { "key": "Cache-Control", "value": "public, max-age=31536000, immutable" } ] }, { "source": "/admin/(.*)", "headers": [ { "key": "Cache-Control", "value": "no-store, must-revalidate" } ] } ] }