From 23e579a38d5428e49d019ac834497d009eea1739 Mon Sep 17 00:00:00 2001 From: tbabik Date: Sat, 23 Apr 2022 10:54:26 +0200 Subject: [PATCH] Removed non-necessary warning on index.html and also incorrect hint for plaintext transmission --- src/index.html | 3 +-- src/js/glowingbear.js | 2 -- webpack.config.js | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/index.html b/src/index.html index 2a18a03..0988392 100644 --- a/src/index.html +++ b/src/index.html @@ -36,7 +36,6 @@ WeeChat web frontend
You're using Glowing Bear over an unencrypted connection (http://). This is not recommended! We recommend using our secure hosted version at https://www.glowing-bear.org/, or https://latest.glowing-bear.org for the latest development version. If your relay is on your local network, that is unfortunately impossible, but be aware of the implications.
-
You're using Glowing Bear over an unencrypted connection. Password will be transmitted in plain text!
Connection error The client was unable to connect to the WeeChat relay
@@ -118,7 +117,7 @@
diff --git a/src/js/glowingbear.js b/src/js/glowingbear.js index b7f5424..af20053 100644 --- a/src/js/glowingbear.js +++ b/src/js/glowingbear.js @@ -122,8 +122,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $scope.show_tls_warning = (["https:", "file:"].indexOf(window.location.protocol) === -1) && (["localhost", "127.0.0.1", "::1"].indexOf(window.location.hostname) === -1) && !window.is_electron && !utils.isCordova(); - // Perhaps to be combined with show_tls_warning - the above conditions should reflect the same as isSecureContext - $scope.isSecureContext = window.isSecureContext; $rootScope.isWindowFocused = function() { if (typeof $scope.documentHidden === "undefined") { diff --git a/webpack.config.js b/webpack.config.js index 707c61b..d94ee49 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -62,8 +62,5 @@ module.exports = { ] }, ] - }, - performance: { - hints: false } };