From 4e3650b8c72cd76bc48ca1d9f952b4b02c3230b4 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 18 Dec 2019 14:35:43 +0800 Subject: [PATCH] Refactor the comments to use flash publisher --- trunk/research/players/srs_publisher.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/research/players/srs_publisher.html b/trunk/research/players/srs_publisher.html index c4fb72789..e113b50f8 100644 --- a/trunk/research/players/srs_publisher.html +++ b/trunk/research/players/srs_publisher.html @@ -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:'); }