diff --git a/web/frpc/src/components/Configure.vue b/web/frpc/src/components/Configure.vue index 94495e48..784668c5 100644 --- a/web/frpc/src/components/Configure.vue +++ b/web/frpc/src/components/Configure.vue @@ -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',