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
}
fetch('/api/config', {
fetch('../api/config', {
credentials: 'include',
method: 'PUT',
body: this.textarea,
}).then(() => {
fetch('/api/reload', {credentials: 'include'})
fetch('../api/reload', {credentials: 'include'})
.then(() => {
this.$message({
type: 'success',