From 702ad69817fef17b9a9cefd1fa0d57cae60804a2 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 26 Dec 2013 09:13:27 +0800 Subject: [PATCH] support query in index.html --- trunk/research/api-server/static-dir/index.html | 2 +- trunk/research/players/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/research/api-server/static-dir/index.html b/trunk/research/api-server/static-dir/index.html index 0b1ff9823..7607685aa 100755 --- a/trunk/research/api-server/static-dir/index.html +++ b/trunk/research/api-server/static-dir/index.html @@ -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; }); diff --git a/trunk/research/players/index.html b/trunk/research/players/index.html index 771960b1d..f313891e7 100755 --- a/trunk/research/players/index.html +++ b/trunk/research/players/index.html @@ -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 ; });