feat: add services

This commit is contained in:
EsioFreitas committed 2022-12-07 21:03:47 -03:00
1 parent 979e5f9fb1
commit a3a5600289
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import axios from "axios";
const defaultConfig = {
"Content-Type": "application/json",
};
export const api = axios.create({
...defaultConfig,
baseURL: "http://localhost:8000",
});