From 43a8e087bb8624d351a00114be133e55ee36d1e4 Mon Sep 17 00:00:00 2001 From: cascha42 Date: Mon, 17 Jun 2024 15:48:50 +0200 Subject: [PATCH] Added dynamic base path determination for HTTP requests --- html/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/index.html b/html/index.html index a34120e..c886b83 100644 --- a/html/index.html +++ b/html/index.html @@ -211,7 +211,7 @@ }) this.$http.get(`${this.basePath}/credentials`).then(response => { this.credentialsData = response.body - }); + }) }, storeConfig() { const storeConfig = JSON.parse(JSON.stringify(this.configData)) @@ -230,7 +230,7 @@ .then(() => { document.body.style = 'display:none' setTimeout(() => window.location.reload(), 1e3) - }); + }) }, storeCredentials() { this.$http.post(`${this.basePath}/credentials`, this.credentialsData).then(response => {