Browse Source

/c

dev_YWQ
HolyKnightIX 2 years ago
parent
commit
f472cbf5ff
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      .env.development
  2. +1
    -1
      .env.production
  3. +1
    -1
      src/apis/login.js
  4. +1
    -1
      src/utils/request.js

+ 1
- 1
.env.development View File

@@ -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/api'
VITE_APP_BASE_API = 'https://photo.metavatar.cc/C'

+ 1
- 1
.env.production View File

@@ -2,4 +2,4 @@

VITE_APP_TITLE = 'Metavatar-PC'
VITE_APP_PORT = 3000
VITE_APP_BASE_API = 'https://photo.metavatar.cc/C/api'
VITE_APP_BASE_API = 'https://photo.metavatar.cc/C'

+ 1
- 1
src/apis/login.js View File

@@ -48,5 +48,5 @@ export function sendRegisterEmail(email) {
* @description:获取图形验证码
* @return: 验证码地址
*/
export const getCodeImgUrl = baseURL + '/user/captcha.jpg'
export const getCodeImgUrl = baseURL + '/api/user/captcha.jpg'


+ 1
- 1
src/utils/request.js View File

@@ -7,7 +7,7 @@ ElMessage
* @description:发送Axios请求
*/
const request = axios.create({
baseURL: '/api',
baseURL: '/C',
timeout: 5000
})



Loading…
Cancel
Save