Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add redirect to settings; Cleanup

Tomas Valenta9f168e07a4a2
diff --git a/apps/dashboard/next.config.js b/apps/dashboard/next.config.js
index 5b972ec34..6aecb1ebf 100644
--- a/apps/dashboard/next.config.js
+++ b/apps/dashboard/next.config.js
@@ -9,6 +9,10 @@ const nextConfig = {
destination: 'https://app.posthog.com/:path*',
basePath: false,
},
+ {
+ source: '/',
+ destination: '/settings',
+ },
{
source: '/',
destination: process.env.NEXT_PUBLIC_LANDING_PAGE_URL || '/',
diff --git a/apps/dashboard/pages/sign.tsx b/apps/dashboard/pages/sign.tsx
index e1664660d..37c671d97 100644
--- a/apps/dashboard/pages/sign.tsx
+++ b/apps/dashboard/pages/sign.tsx
@@ -18,9 +18,6 @@ function SignIn() {
if (user) {
router.push({
pathname: '/settings',
- query: {
- ...router.query['team'] && { team: router.query['team'] },
- },
})
}
}, [user, router])