Refactor the comments to use flash publisher

This commit is contained in:
winlin
2019-12-18 14:35:43 +08:00
parent dd44d76d72
commit 4e3650b8c7

View File

@@ -55,7 +55,7 @@
$(function(){
var l = window.location;
var url = window.location.href;
if (true || l.hostname !== 'localhost' && l.hostname !== '127.0.0.1' && l.protocol == 'http:') {
if (l.hostname !== 'localhost' && l.hostname !== '127.0.0.1' && l.protocol == 'http:') {
// For flash publisher, must use HTTPS.
url = window.location.href.replace('http:', 'https:');
}