feat: add services

This commit is contained in:
EsioFreitas
2022-12-07 21:15:37 -03:00
3 changed files with 12 additions and 7934 deletions

View File

@@ -5,7 +5,9 @@ const defaultConfig = {
"Content-Type": "application/json",
};
export const api = axios.create({
const api = axios.create({
...defaultConfig,
baseURL: "http://localhost:8000",
});
export default api;