From 57ec69540f691fae4f2dd7116e63a7a50458e747 Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Thu, 25 May 2023 18:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- src/apis/login.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index c07848a..069808e 100644 --- a/.env.development +++ b/.env.development @@ -5,4 +5,4 @@ NODE_ENV='development' VITE_APP_TITLE = 'Metavatar-PC' VITE_APP_PORT = 3000 -VITE_APP_BASE_API = 'https://photo.metavatar.cc/C/' +VITE_APP_BASE_API = 'https://photo.metavatar.cc/C/api' diff --git a/.env.production b/.env.production index 6c3e95c..f220d73 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,4 @@ VITE_APP_TITLE = 'Metavatar-PC' VITE_APP_PORT = 3000 -VITE_APP_BASE_API = 'https://photo.metavatar.cc/C' +VITE_APP_BASE_API = 'https://photo.metavatar.cc/C/api' diff --git a/src/apis/login.js b/src/apis/login.js index d5d19ec..c724e7c 100644 --- a/src/apis/login.js +++ b/src/apis/login.js @@ -48,5 +48,5 @@ export function sendRegisterEmail(email) { * @description:获取图形验证码 * @return: 验证码地址 */ -export const getCodeImgUrl = baseURL + '/api/user/captcha.jpg' +export const getCodeImgUrl = baseURL + '/user/captcha.jpg'