uncommented secure content code

This commit is contained in:
Sravya Katta 2023-10-03 10:03:33 -04:00
parent 0d0e6ac59e
commit 47711170c2
1 changed files with 4 additions and 4 deletions

View File

@ -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')