Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
improve: replace environment variable with document location origin
Ben Fornefeld145a5646693f
diff --git a/apps/web/src/components/AuthForm.tsx b/apps/web/src/components/AuthForm.tsxindex 9a42e508f..09ecb1dfd 100644--- a/apps/web/src/components/AuthForm.tsx+++ b/apps/web/src/components/AuthForm.tsx@@ -72,8 +72,8 @@ function AuthForm({ view }: Props) {}}redirectTo={view === 'forgotten_password'- ? `${process.env.NEXT_PUBLIC_BASE_URL}/auth/update-password`- : `${process.env.NEXT_PUBLIC_BASE_URL}/dashboard`+ ? `${document.location.origin}/auth/update-password`+ : `${document.location.origin}/dashboard`}/></div>