diff options
Diffstat (limited to 'src/api/axios_config.js')
-rw-r--r-- | src/api/axios_config.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/api/axios_config.js b/src/api/axios_config.js new file mode 100644 index 0000000..1ecde93 --- /dev/null +++ b/src/api/axios_config.js @@ -0,0 +1,8 @@ +import axios from "axios"; + +export default axios.create({ + baseURL: "http://localhost:9090/", + headers: { + "Content-Type": "application/json", + }, +}); |