Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add redirect for link from SDK

Tomas Valenta18000750cee2
diff --git a/apps/reverse-proxy/vercel.json b/apps/reverse-proxy/vercel.json
index 37be246ba..77e39df64 100644
--- a/apps/reverse-proxy/vercel.json
+++ b/apps/reverse-proxy/vercel.json
@@ -96,6 +96,22 @@
}
],
"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": [
@@ -172,22 +188,6 @@
],
"destination": "https://e2b.dev/docs/:path*",
"permanent": true
- },
- {
- "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",
- "permanent": true
}
]
}