|
@@ -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,
|