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>