Skip to content

armgit / E2B

Public Imported from GitHub
0

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

add: docs redirects

Ben Fornefeld62eb8197e1e3
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index a8369166b..07947d00e 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -82,6 +82,20 @@ const nextConfig = {
],
}
},
+ async redirects() {
+ return [
+ {
+ source: '/docs/sandbox-templates/overview',
+ destination: '/docs/sandbox-template',
+ permanent: true,
+ },
+ {
+ source: '/docs/sandbox-templates',
+ destination: '/docs/sandbox-template',
+ permanent: true,
+ },
+ ]
+ },
}
export default withSearch(