153 lines
3.0 KiB
JSON
153 lines
3.0 KiB
JSON
{
|
|
"github": {
|
|
"silent": true
|
|
},
|
|
"trailingSlash": false,
|
|
"rewrites": [
|
|
{
|
|
"source": "/_vercel/insights/:path*",
|
|
"destination": "https://e2b-docs.vercel.app/_vercel/insights/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/docs(\\/)?",
|
|
"destination": "https://e2b-docs.vercel.app/docs",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/docs/:path*",
|
|
"destination": "https://e2b-docs.vercel.app/docs/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/dashboard(\\/)?",
|
|
"destination": "https://e2b-dashboard.vercel.app/dashboard",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/dashboard/:path*",
|
|
"destination": "https://e2b-dashboard.vercel.app/dashboard/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"redirects": [
|
|
{
|
|
"source": "/docs",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
},
|
|
{
|
|
"type": "query",
|
|
"key": "reason",
|
|
"value": "sdk-missing-api-key"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/docs?ref=sdk-missing-api-key&reason=",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "blog.e2b.dev"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/blog",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "blog.e2b.dev"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/blog/:path*",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/log/:path*",
|
|
"destination": "https://e2b.dev/blog/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
],
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/blog/log/:path*",
|
|
"destination": "https://e2b.dev/blog/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "e2b.dev"
|
|
}
|
|
],
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "changelog.e2b.dev"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/changelog",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "docs.e2b.dev"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/docs",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/:path*",
|
|
"has": [
|
|
{
|
|
"type": "host",
|
|
"value": "docs.e2b.dev"
|
|
}
|
|
],
|
|
"destination": "https://e2b.dev/docs/:path*",
|
|
"permanent": true
|
|
}
|
|
]
|
|
} |