forked from 77media/video-flow
重发邮件JAVA_BASE_URL
This commit is contained in:
parent
c9fc8f2da1
commit
dded78400f
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user