BraydenMoore
commited on
Commit
•
ba5fb92
1
Parent(s):
8c36331
Update templates/index.html
Browse files- templates/index.html +8 -1
templates/index.html
CHANGED
@@ -287,7 +287,14 @@
|
|
287 |
}
|
288 |
} catch (error) {
|
289 |
console.error('Fetch failed:', error);
|
290 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
}
|
292 |
}
|
293 |
|
|
|
287 |
}
|
288 |
} catch (error) {
|
289 |
console.error('Fetch failed:', error);
|
290 |
+
if (error.name === 'AbortError') {
|
291 |
+
console.error('Fetch aborted:', error);
|
292 |
+
} else {
|
293 |
+
console.error('Fetch failed:', error);
|
294 |
+
}
|
295 |
+
if (firstLoad) {
|
296 |
+
window.location.href = "?new=true";
|
297 |
+
}
|
298 |
}
|
299 |
}
|
300 |
|