BraydenMoore
commited on
Commit
•
adc73f3
1
Parent(s):
bf6c3d3
Update templates/index.html
Browse files- templates/index.html +1 -3
templates/index.html
CHANGED
@@ -279,9 +279,7 @@
|
|
279 |
const response = await fetch(newUrl, { method: 'HEAD' });
|
280 |
if (!response.ok) { // If HTTP code is not OK (like 500)
|
281 |
console.error(`Fetch failed with status: ${response.status}`);
|
282 |
-
|
283 |
-
window.location.href = "?new=true";
|
284 |
-
}
|
285 |
return;
|
286 |
}
|
287 |
|
|
|
279 |
const response = await fetch(newUrl, { method: 'HEAD' });
|
280 |
if (!response.ok) { // If HTTP code is not OK (like 500)
|
281 |
console.error(`Fetch failed with status: ${response.status}`);
|
282 |
+
feed.onerror();
|
|
|
|
|
283 |
return;
|
284 |
}
|
285 |
|