diff options
Diffstat (limited to 'src/zenserver/frontend/html')
| -rw-r--r-- | src/zenserver/frontend/html/index.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/zenserver/frontend/html/index.html b/src/zenserver/frontend/html/index.html index 252ee621e..96b69a643 100644 --- a/src/zenserver/frontend/html/index.html +++ b/src/zenserver/frontend/html/index.html @@ -12,7 +12,8 @@ <script type="text/javascript"> const getCacheStats = () => { const opts = { headers: { "Accept": "application/json" } }; - fetch("/stats/z$", opts) + const queryString = window.location.search; + fetch("/stats/z$" + queryString, opts) .then(response => { if (!response.ok) { throw Error(response.statusText); @@ -40,12 +41,12 @@ <div class="row"> <div class="text-center mt-5"> <pre> -__________ _________ __ -\____ / ____ ____ / _____/_/ |_ ____ _______ ____ - / / _/ __ \ / \ \_____ \ \ __\ / _ \ \_ __ \_/ __ \ - / /_ \ ___/ | | \ / \ | | ( <_> ) | | \/\ ___/ +__________ _________ __ +\____ / ____ ____ / _____/_/ |_ ____ _______ ____ + / / _/ __ \ / \ \_____ \ \ __\ / _ \ \_ __ \_/ __ \ + / /_ \ ___/ | | \ / \ | | ( <_> ) | | \/\ ___/ /_______ \ \___ >|___| //_______ / |__| \____/ |__| \___ > - \/ \/ \/ \/ \/ + \/ \/ \/ \/ \/ </pre> <pre id="status"/> </div> @@ -53,7 +54,7 @@ __________ _________ __ <div class="row"> <pre class="mb-0">Z$:</pre> <pre id="stats"></pre> - <div> + </div> </div> </body> </html> |