7
This commit is contained in:
parent
1e55c058b9
commit
6fab8e4101
@ -5,7 +5,7 @@ window.onload = async function() {
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error('Network response was not ok');
|
throw new Error('Network response was not ok');
|
||||||
|
}
|
||||||
return response.json(); // Parse the JSON data from the response
|
return response.json(); // Parse the JSON data from the response
|
||||||
})
|
})
|
||||||
.then(data => {
|
.then(data => {
|
||||||
|
Loading…
Reference in New Issue
Block a user