mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
Refactor the comments to use flash publisher
This commit is contained in:
@@ -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:');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user