diff --git a/plugins/embed/gui-resources/scripts/js/loader.js b/plugins/embed/gui-resources/scripts/js/loader.js index 677050aeb..7421aba66 100644 --- a/plugins/embed/gui-resources/scripts/js/loader.js +++ b/plugins/embed/gui-resources/scripts/js/loader.js @@ -62,7 +62,7 @@ var urlRegex = /^(http[s]?:)?\/{2}([0-9.\-A-Za-z]+)(?::(\d+))?/, liveblog.browserUrl = function(urlString) { urlString = protocolRegex.test(urlString) ? urlString : '//' + urlString; urlString = urlString.replace(urlRegex, function(all, protocol, hostname, port) { - return '//' + + return 'https://' + hostname + (port && (port !== '80' && port !== '443') ? ':' + port : ''); });