mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
support query in index.html
This commit is contained in:
parent
7094b6f437
commit
702ad69817
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
update_nav();
|
||||
|
||||
// direct to the default vhost for players.
|
||||
window.location.href = "players/index.html";
|
||||
window.location.href = "players/index.html" + window.location.search;
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
update_nav();
|
||||
|
||||
// direct to the default vhost for players.
|
||||
window.location.href = "srs_chat.html?vhost=" + srs_get_player_vhost();
|
||||
window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ;
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Reference in a new issue