Reverse Proxy api automatically test

This commit is contained in:
db-2001
2024-03-05 23:04:11 -05:00
parent 0a68da2b49
commit 657a3d1857
10 changed files with 273 additions and 7 deletions

View File

@ -1,9 +1,9 @@
let apiUri = `${window.location.protocol}//${window.location.host.split(':')[0]}:6531`
let apiUri = `${window.location.protocol}//${window.location.host}/api`
if(getCookie("apiUri") != ""){
apiUri = getCookie("apiUri");
}
setCookie("apiUri", apiUri);
// if(getCookie("apiUri") != ""){
// apiUri = getCookie("apiUri");
// }
// setCookie("apiUri", apiUri);
function setCookie(cname, cvalue) {
const d = new Date();