mirror of
https://github.com/zoo-apps/exchange.git
synced 2026-10-30 15:02:24 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: zoo.exchange - Excludes node_modules and build artifacts
69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"redirects": [
|
|
{
|
|
"source": "/posts/:path*",
|
|
"destination": "/blog/:path*",
|
|
"permanent": false
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"destination": "/api/index.js"
|
|
},
|
|
{
|
|
"source": "/beta/(.*)",
|
|
"destination": "/api/beta.js"
|
|
},
|
|
{
|
|
"source": "/cmc/(.*)",
|
|
"destination": "/api/cmc.js"
|
|
},
|
|
{
|
|
"source": "/product/:id",
|
|
"destination": "/api/product"
|
|
},
|
|
{
|
|
"source": "/atom.xml",
|
|
"destination": "/api/rss"
|
|
},
|
|
{
|
|
"source": "/((?!maintenance).*)",
|
|
"destination": "/maintenance"
|
|
},
|
|
{
|
|
"source": "/(.*)",
|
|
"destination": "/index.html"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "script-src 'self' https://www.google-analytics.com https://www.googletagmanager.com 'unsafe-inline' 'unsafe-eval';"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/favicon.ico",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=3600"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/assets/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31556952, immutable"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|