mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 20:54:40 +03:00
json post base path bug fixed (#2647)
* json post base path bug fixed * added comment field to group client management
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user