Browse Source

2023.11.29
- 更换根路径

zweiqin 1 year ago
parent
commit
f6dc8990e1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/util/server.js

+ 2 - 2
src/util/server.js

@@ -7,8 +7,8 @@ import store from '@/store/index'
 import Cookie from 'js-cookie'
 promise.polyfill()
 
-export const baseURL = process.env.NODE_ENV === 'production' ? '/api' : '/api'
-export const uploadURL = 'https://tuanfengkeji.com/api'
+export const baseURL = process.env.NODE_ENV === 'production' ? 'https://mtrappapi.tfcliao.com' : '/api'
+export const uploadURL = 'https://mtrappapi.tfcliao.com'
 
 const service = axios.create({
   baseURL,