144 lines
2.8 KiB
JSON
144 lines
2.8 KiB
JSON
{
|
|
"cleanUrls": true,
|
|
"trailingSlash": false,
|
|
"redirects": [
|
|
{
|
|
"source": "/",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "explorer.igneum.network"
|
|
}
|
|
],
|
|
"destination": "/explorer",
|
|
"permanent": false
|
|
},
|
|
{
|
|
"source": "/connect",
|
|
"destination": "/metamask",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/gpu-benchmarks",
|
|
"destination": "/miners",
|
|
"permanent": true
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/tx/:hash",
|
|
"destination": "/tx"
|
|
},
|
|
{
|
|
"source": "/block/:id",
|
|
"destination": "/block"
|
|
},
|
|
{
|
|
"source": "/address/:addr",
|
|
"destination": "/address"
|
|
},
|
|
{
|
|
"source": "/release.json",
|
|
"destination": "/release-manifest.json"
|
|
},
|
|
{
|
|
"source": "/benchmarks",
|
|
"destination": "/miners"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "strict-origin-when-cross-origin"
|
|
},
|
|
{
|
|
"key": "Strict-Transport-Security",
|
|
"value": "max-age=63072000; includeSubDomains; preload"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/fonts/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/(.*)\\.(png|ico)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=86400, stale-while-revalidate=604800"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/site.webmanifest",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=86400, stale-while-revalidate=604800"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/journey.json",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=300"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/live",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/stats",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=10, s-maxage=10"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/supply",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=10, s-maxage=10"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/api/explorer",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=5, s-maxage=5"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|