From c9f9a0030ba28422670321d9218056e2e3553878 Mon Sep 17 00:00:00 2001 From: qikongjian Date: Sat, 20 Sep 2025 16:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B3=A8=E5=86=8C=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/auth.ts b/lib/auth.ts index 0e89469..c8734c3 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -587,7 +587,7 @@ export const registerUser = async ({ inviteCode?: string; }): Promise => { try { - const response = await fetch(`${JAVA_BASE_URL}/api/user/register`, { + const response = await fetch(`${BASE_URL}/api/user/register`, { method: 'POST', headers: { 'Accept': 'application/json', @@ -627,7 +627,7 @@ export const registerUserWithInvite = async ({ invite_code?: string; }): Promise => { try { - const response = await fetch(`${JAVA_BASE_URL}/api/user_fission/register_with_invite`, { + const response = await fetch(`${BASE_URL}/api/user_fission/register_with_invite`, { method: 'POST', headers: { 'Accept': 'application/json', @@ -659,7 +659,7 @@ export const registerUserWithInvite = async ({ */ export const sendVerificationLink = async (email: string) => { try { - const response = await fetch(`${JAVA_BASE_URL}/api/user/sendVerificationLink?email=${email}`); + const response = await fetch(`${BASE_URL}/api/user/sendVerificationLink?email=${email}`); const data = await response.json(); if(!data.success){ throw new Error(data.message||data.msg)