Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix auth redirect

Jakub Novakf9236896bcbc
diff --git a/apps/docs/src/app/(dashboard)/dashboard/page.tsx b/apps/docs/src/app/(dashboard)/dashboard/page.tsx
index fa311cb8e..c8001425b 100644
--- a/apps/docs/src/app/(dashboard)/dashboard/page.tsx
+++ b/apps/docs/src/app/(dashboard)/dashboard/page.tsx
@@ -98,7 +98,7 @@ export default function Dashboard() {
useEffect(() => {
if (isLoading) { return }
if (!user) {
- router.push(`/sign-in?${redirectToCurrentURL()}`)
+ router.push(`/dashboard/sign-in?${redirectToCurrentURL()}`)
}
}, [isLoading, user, router])