From e37714f3437d82faf29154a84507a7b95d9e948f Mon Sep 17 00:00:00 2001 From: Alexander Kraev Date: Tue, 22 Jul 2025 14:10:56 +0300 Subject: [PATCH] no message --- web/html/blocked_domains.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/html/blocked_domains.html b/web/html/blocked_domains.html index ff5bf96c..53b772d7 100644 --- a/web/html/blocked_domains.html +++ b/web/html/blocked_domains.html @@ -73,14 +73,14 @@ return key; }, fetchDomains() { - axios.get('blocked-domains/').then(res => { + axios.get(basePath + 'blocked-domains/').then(res => { if (res.data.success) { this.domains = res.data.obj; } }); }, addDomain() { - axios.post('blocked-domains/', this.addForm).then(res => { + axios.post(basePath + 'blocked-domains/', this.addForm).then(res => { if (res.data.success) { this.showAddModal = false; this.addForm = { domain: '', comment: '' }; @@ -89,7 +89,7 @@ }); }, editDomain() { - axios.put(`blocked-domains/${this.editForm.id}`, this.editForm).then(res => { + axios.put(basePath + `blocked-domains/${this.editForm.id}`, this.editForm).then(res => { if (res.data.success) { this.showEditModal = false; this.editForm = { id: null, domain: '', comment: '' }; @@ -102,7 +102,7 @@ title: this.i18n('delete'), content: this.i18n('domain') + '?', onOk: () => { - axios.delete(`blocked-domains/${id}`).then(res => { + axios.delete(basePath + `blocked-domains/${id}`).then(res => { if (res.data.success) { this.fetchDomains(); }