Refactor error handling and requests

This commit is contained in:
2020-02-10 00:12:39 +01:00
parent d12f09ed08
commit 86e2a700f8
6 changed files with 199 additions and 45 deletions

View File

@@ -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"
});