1
0
Fork 0
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:
winlin 2013-12-26 09:18:03 +08:00
parent 702ad69817
commit c23b133fdc

View file

@ -18,7 +18,9 @@
update_nav();
// 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>
</head>