34 lines
956 B
JSON
34 lines
956 B
JSON
{
|
|||
|
|
"rewrites": [
|
||
|
|
{ "source": "/dev", "destination": "/landing.html" },
|
||
|
|
{ "source": "/", "destination": "/hanzo-app.html" }
|
||
|
|
],
|
||
|
|
"headers": [
|
||
|
|
{
|
||
|
|
"source": "/(.*)",
|
||
|
|
"headers": [
|
||
|
|
{ "key": "X-Content-Type-Options", "value": "nosniff" },
|
||
|
|
{ "key": "X-Frame-Options", "value": "DENY" },
|
||
|
|
{ "key": "X-XSS-Protection", "value": "1; mode=block" },
|
||
|
|
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"redirects": [
|
||
|
|
{
|
||
|
|
"source": "/download/vscode",
|
||
|
|
"destination": "https://marketplace.visualstudio.com/items?itemName=hanzo-ai.hanzo-ai",
|
||
|
|
"permanent": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"source": "/download/jetbrains",
|
||
|
|
"destination": "https://github.com/hanzoai/extension/releases/latest",
|
||
|
|
"permanent": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"source": "/github",
|
||
|
|
"destination": "https://github.com/hanzoai/extension",
|
||
|
|
"permanent": false
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|