From 2353778a525c638f008bc65f356de6ae06c43227 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Thu, 13 Nov 2025 03:01:27 +0000 Subject: [PATCH] Fix /api/auth/send-verification-email in AuthContext.tsx cgen-137341a3d8e545fea1c5a970023cb9f2 --- client/contexts/AuthContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index ca6c6b54..9f83f1eb 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -626,7 +626,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ try { // Try to send via custom SMTP server const verifyResponse = await fetch( - "/api/auth/send-verification-email", + `${API_BASE}/api/auth/send-verification-email`, { method: "POST", headers: { "Content-Type": "application/json" },