Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Change docs redirect to rewrite

Tomas Valentab534b0910fa8
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index 2d615d820..daeab6fd8 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -17,16 +17,14 @@ const withMDX = nextMDX({
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
basePath: '/docs',
- async redirects() {
+ async rewrites() {
return [
- {
- source: '/',
- destination: '/docs',
- basePath: false,
- permanent: false
- }
+ {
+ source: '/',
+ destination: '/docs',
+ }
]
-}
+ }
}
export default withSearch(withMDX(nextConfig))