端口号改变
This commit is contained in:
parent
60d9e78b89
commit
d1715a03a3
|
@ -4,7 +4,7 @@ import router from '../router'
|
||||||
|
|
||||||
const myAxios = axios.create({
|
const myAxios = axios.create({
|
||||||
withCredentials:true,
|
withCredentials:true,
|
||||||
baseURL: 'http://localhost:8888/api'//测试服务器
|
baseURL: 'http://localhost:9092/api'//测试服务器
|
||||||
});
|
});
|
||||||
// 添加请求拦截器
|
// 添加请求拦截器
|
||||||
axios.interceptors.request.use(function (config) {
|
axios.interceptors.request.use(function (config) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user