winlin

support query in index.html

@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 update_nav(); 18 update_nav();
19 19
20 // direct to the default vhost for players. 20 // direct to the default vhost for players.
21 - window.location.href = "players/index.html"; 21 + window.location.href = "players/index.html" + window.location.search;
22 }); 22 });
23 </script> 23 </script>
24 </head> 24 </head>
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 update_nav(); 18 update_nav();
19 19
20 // direct to the default vhost for players. 20 // direct to the default vhost for players.
21 - window.location.href = "srs_chat.html?vhost=" + srs_get_player_vhost(); 21 + window.location.href = "srs_chat.html?" + "&vhost=" + srs_get_player_vhost() + window.location.search ;
22 }); 22 });
23 </script> 23 </script>
24 </head> 24 </head>