Connect to api and setup basic homepage
This commit is contained in:
6
src/utils/API.js
Normal file
6
src/utils/API.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
export default axios.create({
|
||||
baseURL: "https://dijkstra-backend.herokuapp.com/api",
|
||||
responseType: "json"
|
||||
});
|
||||
Reference in New Issue
Block a user