BraydenMoore commited on
Commit
295cef6
·
1 Parent(s): 185959d

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -286,7 +286,7 @@
286
  signal = controller.signal;
287
 
288
  try {
289
- const response = await fetch(newUrl, { method: 'HEAD' });
290
  if (!response.ok) {
291
  console.error(`Fetch failed with status: ${response.status}`);
292
 
 
286
  signal = controller.signal;
287
 
288
  try {
289
+ const response = await fetch(newUrl, { method: 'HEAD' , signal: signal});
290
  if (!response.ok) {
291
  console.error(`Fetch failed with status: ${response.status}`);
292