From edc1587ef7bc58fccd2ef3f4170358ee816e6a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Fri, 26 Sep 2025 20:03:33 +0800 Subject: [PATCH] JAVA_BASE_URL --- lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.ts b/lib/auth.ts index c575852..9450907 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -687,7 +687,7 @@ export const registerUserWithInvite = async ({ */ export const sendVerificationLink = async (email: string) => { try { - const response = await fetch(`${BASE_URL}/api/user/sendVerificationLink?email=${email}`); + const response = await fetch(`${JAVA_BASE_URL}/api/user/sendVerificationLink?email=${email}`); const data = await response.json(); if(!data.success){ throw new Error(data.message||data.msg)