{ "cleanUrls": true, "trailingSlash": false, "rewrites": [ { "source": "/r/:token", "destination": "/ui" }, { "source": "/r/:token/c/:fn", "destination": "/api/console?token=:token&fn=:fn" }, { "source": "/r/:token/api/:fn", "destination": "/api/relay?token=:token&fn=:fn" }, { "source": "/wake", "destination": "/api/wake" }, { "source": "/r/:token/wake", "destination": "/api/wake?token=:token" } ], "functions": { "api/wake.mjs": { "maxDuration": 60 } }, "headers": [ { "source": "/(.*)", "headers": [ { "key": "X-Content-Type-Options", "value": "nosniff" }, { "key": "X-Frame-Options", "value": "DENY" }, { "key": "X-Robots-Tag", "value": "noindex, nofollow" }, { "key": "Referrer-Policy", "value": "no-referrer" }, { "key": "Cache-Control", "value": "no-store" }, { "key": "Strict-Transport-Security", "value": "max-age=63072000; includeSubDomains" } ] } ] }