source:
client_app/src/custom_axios/axios.js@
33d4f5d
Last change on this file since 33d4f5d was 3f5bf9e, checked in by , 4 years ago | |
---|---|
|
|
File size: 196 bytes |
Rev | Line | |
---|---|---|
[3f5bf9e] | 1 | import axios from 'axios'; |
2 | ||
3 | const instance = axios.create({ | |
4 | baseURL: 'http://localhost:9090/api', | |
5 | headers: { | |
6 | 'Access-Control-Allow-Origin' : '*' | |
7 | } | |
8 | }); | |
9 | ||
10 | export default instance; |
Note:
See TracBrowser
for help on using the repository browser.