diff --git a/index.html b/index.html
index 163a5f005..df2ef2cb4 100644
--- a/index.html
+++ b/index.html
@@ -178,33 +178,30 @@
function checkUpCors (url, { contents, status: { content_length, error } }) {
// has an error from the CORS proxy
- let isValid =
- !error ||
- (error.code !== 'UNABLE_TO_VERIFY_LEAF_SIGNATURE');
-
- if (!isValid) {
+ if (
+ error &&
+ (error.code !== 'UNABLE_TO_VERIFY_LEAF_SIGNATURE')
+ ) {
console.log(`${url} has an retrieval error`)
return false;
}
// has actual content or it has a refresh
- isValid =
- (content_length > 100) ||
- contents.includes('