igneum/relay/vercel.json
igneum-labs 552d5a30c2 Igneum console at the relay URL: Machines, Jobs, Builds, Chain, Work log, Results and the relay as tabs
relay/api/console.mjs reads the log intake (miner_logs) and console_items in Neon, the OTA manifest, the
CI json and the jobs file from the downloads host (DL_TOKEN in the project env, never in the client), and
igneum.network/api/live; 10 s cache per answer. tools/console.mjs: post --kind log|build|note, log, machines,
chain, jobs, builds, results, sync-bench, sync-dl, sync-hetzner, sync, url. The two Mac-side build scripts
post build events. Screenshots at 375 px and desktop in docs/design/console/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 13:53:33 +00:00

45 lines
874 B
JSON

{
"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"
}
],
"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"
}
]
}
]
}