Added dynamic base path determination for HTTP requests

master
cascha42 5 months ago
parent 0ccd6e6c5d
commit 43a8e087bb

@ -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 => {

Loading…
Cancel
Save