Skip to content

Commit 689ae7b

Browse files
committed
fixing CORS via heroku server
1 parent becac8f commit 689ae7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Components/Api/Api.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import axios from "axios";
22

33
// Axios Create Instance
44
const instance = axios.create({
5-
baseURL:
6-
"https://covid-cors.herokuapp.com/https://cors-anywhere.herokuapp.com/https://api.covid19tracker.ca",
5+
baseURL: "https://covid-cors.herokuapp.com/https://api.covid19tracker.ca",
76
});
87

98
// List of Country and Provinces

0 commit comments

Comments
 (0)