diff options
| author | Ali Rahimi <alirahimi818@gmail.com> | 2025-01-23 23:33:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 23:33:47 +0300 |
| commit | 04cf250a547bb64265d256e7d15af7cea5ecfa67 (patch) | |
| tree | 9d4ef49eca76d9c4c2860566c075b67b4117aaa8 /web/assets/js | |
| parent | ac9ab828b541839c1ccd10045ceca8f2f9bb4957 (diff) | |
json post base path bug fixed (#2647)
* json post base path bug fixed
* added comment field to group client management
Diffstat (limited to 'web/assets/js')
| -rw-r--r-- | web/assets/js/util/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/util/utils.js b/web/assets/js/util/utils.js index 28ec95c7..10825490 100644 --- a/web/assets/js/util/utils.js +++ b/web/assets/js/util/utils.js @@ -81,7 +81,7 @@ class HttpUtil { }, body: JSON.stringify(data), }; - const resp = await fetch(url, requestOptions); + const resp = await fetch(basePath + url.replace(/^\/+|\/+$/g, ''), requestOptions); const response = await resp.json(); msg = this._respToMsg({data : response}); |
