mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support query in index.html
This commit is contained in:
parent
702ad69817
commit
c23b133fdc
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
||||||
update_nav();
|
update_nav();
|
||||||
|
|
||||||
// direct to the default vhost for players.
|
// direct to the default vhost for players.
|
||||||
window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ;
|
var query = "" + window.location.search;
|
||||||
|
query = query.substr(1);
|
||||||
|
window.location.href = "srs_chat.html?" + "vhost=" + srs_get_player_vhost() + "&" + query;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue