This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/src/services/Api.js
2019-05-22 14:51:57 +02:00

12 lines
No EOL
280 B
JavaScript

import axios from 'axios'
export default() => {
return axios.create({
baseURL: `http://localhost:8000/api/`,
withCredentials: false,
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
})
}