BraydenMoore commited on
Commit
ee2a7bc
1 Parent(s): d57a36f

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -1
templates/index.html CHANGED
@@ -176,7 +176,9 @@
176
  feed.src = this.src;
177
  };
178
  img.onerror = function() {
179
- feed.src = "{{ url_for('static', filename='error.png') }}"; // You can set an error image here
 
 
180
  };
181
  img.src = newUrl;
182
  });
 
176
  feed.src = this.src;
177
  };
178
  img.onerror = function() {
179
+ // Set error image or reload with new=true
180
+ // feed.src = "{{ url_for('static', filename='error.png') }}";
181
+ window.location.href = "?new=true";
182
  };
183
  img.src = newUrl;
184
  });