diff --git a/Website/apiConnector.js b/Website/apiConnector.js index 64dca93..2eb16d5 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -1,6 +1,4 @@ -let apiUri = `${window.location.protocol}//${window.location.host.split(':')[0]}:6531` - -if(getCookie("apiUri") != ""){ +if(getCookie("apiUri") != ""){ apiUri = getCookie("apiUri"); } setCookie("apiUri", apiUri); diff --git a/Website/defaultApiUri.js b/Website/defaultApiUri.js new file mode 100644 index 0000000..5173806 --- /dev/null +++ b/Website/defaultApiUri.js @@ -0,0 +1 @@ +let apiUri = `${window.location.protocol}//${window.location.host.split(':')[0]}:6531` \ No newline at end of file diff --git a/Website/index.html b/Website/index.html index 1bb8c4c..74e58a9 100644 --- a/Website/index.html +++ b/Website/index.html @@ -294,7 +294,8 @@
Made with Blåhaj 🦈
- + +