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" },