From 47711170c2c400be86828bab94ac8d90169fd8df Mon Sep 17 00:00:00 2001 From: Sravya Katta Date: Tue, 3 Oct 2023 10:03:33 -0400 Subject: [PATCH] uncommented secure content code --- app/ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/ui.js b/app/ui.js index e0651156..f96c0625 100644 --- a/app/ui.js +++ b/app/ui.js @@ -64,10 +64,10 @@ const UI = { // We rely on modern APIs which might not be available in an // insecure context - // if (!window.isSecureContext) { - // // FIXME: This gets hidden when connecting - // UI.showStatus(_("HTTPS is required for full functionality"), 'error'); - // } + if (!window.isSecureContext) { + // FIXME: This gets hidden when connecting + UI.showStatus(_("HTTPS is required for full functionality"), 'error'); + } // Try to fetch version number fetch('./package.json')