Fix /api/auth/send-verification-email in AuthContext.tsx
cgen-137341a3d8e545fea1c5a970023cb9f2
This commit is contained in:
parent
7ca0638ffa
commit
2353778a52
1 changed files with 1 additions and 1 deletions
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue