Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add default page redirect to docs

Tomas Valenta47ea24eb4733
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index 57e9dd011..31fab8cd9 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -17,6 +17,14 @@ const withMDX = nextMDX({
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
basePath: '/docs',
+ async rewrites() {
+ return [
+ {
+ source: '/',
+ destination: '/docs',
+ },
+ ]
+ },
}
export default withSearch(withMDX(nextConfig))