Merge pull request 'https' (#114) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/114
This commit is contained in:
commit
63d3598a2c
@ -1,6 +1,6 @@
|
|||||||
import { getValue } from '@/utils/common';
|
import { getValue } from '@/utils/common';
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
axios.defaults.baseURL = 'http://case.sy-my.net/beelink/public/home/';
|
axios.defaults.baseURL = 'https://case.sy-my.net/beelink/public/home/';
|
||||||
axios.defaults.headers.common['Authorization'] = "Bearer " + getValue("token");
|
axios.defaults.headers.common['Authorization'] = "Bearer " + getValue("token");
|
||||||
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
|
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user