changed the fetch to source from the DO Spaces cdn instead of a local copy
This commit is contained in:
2
app.js
2
app.js
@ -1,6 +1,6 @@
|
|||||||
const disp = document.querySelector(".display");
|
const disp = document.querySelector(".display");
|
||||||
|
|
||||||
fetch("FavouriteQuotes.json")
|
fetch("https://cdn.fyrfli.link/FavouriteQuotes.json")
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
return response.json();
|
return response.json();
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user