Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix root redirects
Jakub Novakb62373b1f86a
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjsindex 59ccfac13..b957ad55d 100644--- a/apps/web/next.config.mjs+++ b/apps/web/next.config.mjs@@ -64,17 +64,7 @@ const nextConfig = {{ source: '/:path*', destination: '/_404/:path*' },]}- },- async redirects() {- return [- {- source: '/',- destination: '/dashboard',- permanent: false,- basePath: false,- },- ]- },+ }}export default withSearch(diff --git a/apps/web/src/pages/_404/[...path].tsx b/apps/web/src/pages/_404/[...path].tsxindex 3be8c9c6f..ea507a364 100644--- a/apps/web/src/pages/_404/[...path].tsx+++ b/apps/web/src/pages/_404/[...path].tsx@@ -4,7 +4,7 @@ import { GetServerSideProps } from 'next'export const getServerSideProps: GetServerSideProps = async () => {return {redirect: {- destination: '/',+ destination: '/dashboard',permanent: false,},}