Update Configure.vue
This commit is contained in:
parent
dfbfee742a
commit
bcb8de4703
@ -50,12 +50,12 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch('/api/config', {
|
fetch('../api/config', {
|
||||||
credentials: 'include',
|
credentials: 'include',
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
body: this.textarea,
|
body: this.textarea,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
fetch('/api/reload', {credentials: 'include'})
|
fetch('../api/reload', {credentials: 'include'})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
|
Loading…
Reference in New Issue
Block a user