Update Configure.vue

This commit is contained in:
jingsam 2022-05-29 20:27:03 +08:00 committed by GitHub
parent dfbfee742a
commit bcb8de4703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',