|
@@ -2,7 +2,7 @@ import axios from 'axios'
|
|
|
import { getToken, removeToken, setToken } from './auth'
|
|
|
// create an axios instance
|
|
|
const service = axios.create({
|
|
|
- baseURL: 'http://jzmanagerweb.aiyangniu.net', // url = base url + request url
|
|
|
+ baseURL: 'http://jzmanager.aiyangniu.net', // url = base url + request url
|
|
|
// withCredentials: true, // send cookies when cross-domain requests
|
|
|
timeout: 5000 // request timeout
|
|
|
})
|