Skip to content

Commit 4f357a3

Browse files
author
chandan-reddy-k
committed
fix(api): depricated api to v2
1 parent e379a3b commit 4f357a3

File tree

2 files changed

+285
-178
lines changed

2 files changed

+285
-178
lines changed

gridsome.server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function (api) {
1212
// })
1313

1414
api.loadSource(async actions => {
15-
const { data } = await axios.get('https://corona.lmao.ninja/all')
15+
const { data } = await axios.get('https://corona.lmao.ninja/v2/all')
1616

1717
const collection = actions.addCollection('GlobalData')
1818

0 commit comments

Comments
 (0)