diff --git a/web/kbn_assets/app.js b/web/kbn_assets/app.js index 8712e71..9136af9 100644 --- a/web/kbn_assets/app.js +++ b/web/kbn_assets/app.js @@ -129,7 +129,7 @@ function indexInit() { } if (window.history !== undefined) { - let uri = 'main.cgi' + let uri = new URL(location.href).pathname if (selected !== blocks[0]) uri += '?tab=' + encodeURIComponent(selected) window.history.replaceState(null, '', uri)