JAVA_BASE_URL

This commit is contained in:
北枳 2025-09-26 20:03:33 +08:00
parent 805b7b91ec
commit edc1587ef7

View File

@ -687,7 +687,7 @@ export const registerUserWithInvite = async ({
*/ */
export const sendVerificationLink = async (email: string) => { export const sendVerificationLink = async (email: string) => {
try { 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(); const data = await response.json();
if(!data.success){ if(!data.success){
throw new Error(data.message||data.msg) throw new Error(data.message||data.msg)