forked from smartpager/msg-email
Added dynamic base path determination for HTTP requests
This commit is contained in:
parent
0ccd6e6c5d
commit
43a8e087bb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue