Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Improve blog urls; Fix trailing slashes

Tomas Valenta370ffc5b3c74
diff --git a/apps/reverse-proxy/vercel.json b/apps/reverse-proxy/vercel.json
index e7c2ce992..526f27d1a 100644
--- a/apps/reverse-proxy/vercel.json
+++ b/apps/reverse-proxy/vercel.json
@@ -2,6 +2,7 @@
"github": {
"silent": true
},
+ "trailingSlash": false,
"rewrites": [
{
"source": "/",
@@ -63,16 +64,6 @@
}
]
},
- {
- "source": "/changelog/:path*",
- "destination": "https://e2b-changelog.framer.website/:path*",
- "has": [
- {
- "type": "host",
- "value": "e2b.dev"
- }
- ]
- },
{
"source": "/blog(\\/)?",
"destination": "https://e2b-blog.framer.website",
@@ -85,7 +76,7 @@
},
{
"source": "/blog/:path*",
- "destination": "https://e2b-blog.framer.website/:path*",
+ "destination": "https://e2b-blog.framer.website/blog/:path*",
"has": [
{
"type": "host",
@@ -119,7 +110,7 @@
},
{
"source": "/log/:path*",
- "destination": "https://e2b.dev/blog/log/:path*",
+ "destination": "https://e2b.dev/blog/:path*",
"has": [
{
"type": "host",
@@ -129,25 +120,25 @@
"permanent": true
},
{
- "source": "/",
+ "source": "/blog/log/:path*",
+ "destination": "https://e2b.dev/blog/:path*",
"has": [
{
"type": "host",
- "value": "changelog.e2b.dev"
+ "value": "e2b.dev"
}
],
- "destination": "https://e2b.dev/changelog",
"permanent": true
},
{
- "source": "/:path*",
+ "source": "/",
"has": [
{
"type": "host",
"value": "changelog.e2b.dev"
}
],
- "destination": "https://e2b.dev/changelog/:path*",
+ "destination": "https://e2b.dev/changelog",
"permanent": true
},
{