49 lines
998 B
JSON
49 lines
998 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"
|
|
},
|
|
{
|
|
"key": "Strict-Transport-Security",
|
|
"value": "max-age=63072000; includeSubDomains"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|