接口地址修改
This commit is contained in:
parent
701a992d5d
commit
e5e97d2598
|
|
@ -2,8 +2,8 @@ import axios from 'axios';
|
||||||
import router from '@/router'
|
import router from '@/router'
|
||||||
import { showNotify } from 'vant';
|
import { showNotify } from 'vant';
|
||||||
|
|
||||||
const url = 'http://192.168.0.230';
|
// const url = 'http://192.168.0.230';
|
||||||
// const url = window.location.origin;
|
const url = window.location.origin;
|
||||||
|
|
||||||
axios.defaults.baseURL = url;
|
axios.defaults.baseURL = url;
|
||||||
axios.defaults.withCredentials = false;
|
axios.defaults.withCredentials = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue