Fixed issues preventing the loading screen from working when using the gateway.

This commit is contained in:
CalDescent
2021-12-01 19:51:45 +00:00
parent 8525fb89f8
commit 13bcfbe3c5
3 changed files with 56 additions and 5 deletions

View File

@@ -41,9 +41,9 @@
<script>
const checkStatus = async () => {
var host = location.protocol + '//' + location.host;
var pathArray = window.location.pathname.split('/');
var service = pathArray[2];
var name = pathArray[3];
var service = "%%SERVICE%%"
var name = "%%NAME%%"
var url = host + '/arbitrary/resource/status/' + service + '/' + name + '?build=true';
var textStatus = "Loading...";
var retryInterval = 2500;