Refactor error handling and requests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
export default axios.create({
|
||||
baseURL: "https://dijkstra-backend.herokuapp.com/api",
|
||||
baseURL: "https://dijkstra-backend.herokuapp.com/",
|
||||
responseType: "json"
|
||||
});
|
||||
Reference in New Issue
Block a user