Skip to content

Commit

Permalink
move axios to api folder
Browse files Browse the repository at this point in the history
  • Loading branch information
faris-isa committed May 2, 2021
1 parent 822e6f9 commit 04a6acc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 9 additions & 0 deletions src/api/axios.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import axios from 'axios';

let api = axios.create({
baseURL: "http://localhost/backend/api",
// baseURL: "https://m3117063.api.isabot.site/api",
withCredentials: true,
});

export default api;
10 changes: 0 additions & 10 deletions src/axios.js

This file was deleted.

0 comments on commit 04a6acc

Please sign in to comment.