Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix redirects; Make redirects permanent (308)

Tomas Valentaf4fe2d414177
diff --git a/apps/dashboard/next.config.js b/apps/dashboard/next.config.js
index 4ed501ba1..e53d5a72f 100644
--- a/apps/dashboard/next.config.js
+++ b/apps/dashboard/next.config.js
@@ -13,7 +13,7 @@ const nextConfig = {
destination: '/dashboard',
},
]
- },
+ }
}
module.exports = nextConfig
diff --git a/apps/reverse-proxy/vercel.json b/apps/reverse-proxy/vercel.json
index b74dbc6b4..01a483329 100644
--- a/apps/reverse-proxy/vercel.json
+++ b/apps/reverse-proxy/vercel.json
@@ -56,37 +56,37 @@
],
"redirects": [
{
- "source": "(/.*)?",
+ "source": "/(.*)?",
"has": [
{
"type": "host",
"value": "blog.e2b.dev"
}
],
- "destination": "/blog$1",
- "permanent": false
+ "destination": "https://e2b.dev/blog/$1",
+ "permanent": true
},
{
- "source": "(/.*)?",
+ "source": "/(.*)?",
"has": [
{
"type": "host",
"value": "changelog.e2b.dev"
}
],
- "destination": "/changelog$1",
- "permanent": false
- }
+ "destination": "https://e2b.dev/changelog/$1",
+ "permanent": true
+ },
{
- "source": "(/.*)?",
+ "source": "/(.*)?",
"has": [
{
"type": "host",
"value": "docs.e2b.dev"
}
],
- "destination": "/docs$1",
- "permanent": false
+ "destination": "https://e2b.dev/docs/$1",
+ "permanent": true
}
]
}