Potential fix/support for HTTPS

Removed the hard-coded http in the API url and instead calling  window.location.protocol
This commit is contained in:
db-2001 2024-02-24 10:27:14 -05:00
parent b99ade74c7
commit 5cda6ece05
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
let apiUri = `http://${window.location.host.split(':')[0]}:6531`
let apiUri = `${window.location.protocol}//${window.location.host.split(':')[0]}:6531`
if(getCookie("apiUri") != ""){
apiUri = getCookie("apiUri");

View File

@ -940,8 +940,7 @@ footer-tag-popup::before{
.section-item > .jobDetails > .jobProgressBar {
margin: 5px;
height: 10px;
border-radius: 5px;
overflow: hidden;
border-radius: 7px;
}
.section-item > .jobDetails > .jobProgressSpan {