Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

Commit

Permalink
Update: updating the NovelCOVID API endpoint to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyfayock committed Apr 17, 2020
1 parent 49c78e4 commit e8f63c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const IndexPage = () => {
let response;

try {
response = await axios.get('https://corona.lmao.ninja/countries');
response = await axios.get('https://corona.lmao.ninja/v2/countries');
} catch(e) {
console.log(`Failed to fetch countries: ${e.message}`, e);
return;
Expand Down

0 comments on commit e8f63c7

Please sign in to comment.