mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refactor the comments to use flash publisher
This commit is contained in:
parent
dd44d76d72
commit
4e3650b8c7
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
$(function(){
|
$(function(){
|
||||||
var l = window.location;
|
var l = window.location;
|
||||||
var url = window.location.href;
|
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.
|
// For flash publisher, must use HTTPS.
|
||||||
url = window.location.href.replace('http:', 'https:');
|
url = window.location.href.replace('http:', 'https:');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue