This commit is contained in:
Kekskurse 2019-08-11 21:04:15 +02:00
parent 58eafa1986
commit f74bfec6c2

View file

@ -2,12 +2,12 @@ import axios from 'axios'
export default() => { export default() => {
return axios.create({ return axios.create({
baseURL: `http://127.0.0.1:8000/api/`, //baseURL: `http://127.0.0.1:8000/api/`,
//baseURL: `https://api.account.keks.cloud/api/`, baseURL: `https://api.account.keks.cloud/api/`,
withCredentials: false, withCredentials: false,
headers: { headers: {
'Accept': 'application/json', 'Accept': 'application/json',
'Content-Type': 'application/json' 'Content-Type': 'application/json'
} }
}) })
} }