aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--franz-custom-website.tar.gzbin5541 -> 5558 bytes
-rw-r--r--uncompressed/franz-custom-website/index.js2
2 files changed, 1 insertions, 1 deletions
diff --git a/franz-custom-website.tar.gz b/franz-custom-website.tar.gz
index a2d7879..68153e2 100644
--- a/franz-custom-website.tar.gz
+++ b/franz-custom-website.tar.gz
Binary files differ
diff --git a/uncompressed/franz-custom-website/index.js b/uncompressed/franz-custom-website/index.js
index 86c3227..62f4218 100644
--- a/uncompressed/franz-custom-website/index.js
+++ b/uncompressed/franz-custom-website/index.js
@@ -6,7 +6,7 @@ module.exports = Franz => class CustomWebsite extends Franz {
6 const resp = await window.fetch(url, { 6 const resp = await window.fetch(url, {
7 method: 'GET' 7 method: 'GET'
8 }); 8 });
9 return resp.status.toString().startsWith('2'); 9 return !resp.status.toString().startsWith('4');
10 } catch (err) { 10 } catch (err) {
11 console.error(err); 11 console.error(err);
12 } 12 }