mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
v0.6.6
This commit is contained in:
1 parent
54024d78dc
commit
b8f6a59bc5
5 files changed
+10
-6
No files matched your search
@@ -60,8 +60,11 @@ function showFormModal(modelSelector, formID, URL, getData) {
|
||||
|
||||
if (item.name.endsWith("ServersRaw")) {
|
||||
if (item.value.length > 2) {
|
||||
obj[item.name] =
|
||||
"[" + item.value.substr(3, item.value.length - 1) + "]";
|
||||
obj[item.name] = JSON.stringify(
|
||||
[...item.value.matchAll(/\d+/gm)].map((k) =>
|
||||
parseInt(k[0])
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user