feat: add services
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user