summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.html b/index.html
index 0180416..41d938d 100644
--- a/index.html
+++ b/index.html
@@ -119,8 +119,9 @@
var host = window.location.search.split('?')[1] || undefined;
if (host) {
- document.title = 'Hostinfo: ' + host;
render.host(host);
+ document.title = 'Hostinfo: ' + host;
+ History.replaceState({host: host}, 'Hostinfo: ' + host, 'index.html?' + host);
}
else {
render.index();