From 5cda6ece051e2c1944c2d4e10b5f40e9e5c6f952 Mon Sep 17 00:00:00 2001 From: db-2001 Date: Sat, 24 Feb 2024 10:27:14 -0500 Subject: [PATCH] Potential fix/support for HTTPS Removed the hard-coded http in the API url and instead calling window.location.protocol --- Website/apiConnector.js | 2 +- Website/styles/base.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Website/apiConnector.js b/Website/apiConnector.js index 35867b2..64dca93 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -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"); diff --git a/Website/styles/base.css b/Website/styles/base.css index 79a2098..ee80fc5 100644 --- a/Website/styles/base.css +++ b/Website/styles/base.css @@ -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 {