mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 09:25:13 +08:00
update 2026-06-16 01:07:40
This commit is contained in:
1 parent
18e09e96e5
commit
d42c9b2ab0
3 files changed
+7
-12
No files matched your search
@@ -1036,7 +1036,7 @@ const methods = {
|
||||
const type = req.args?.type;
|
||||
let result = {};
|
||||
|
||||
const fd = popen('/usr/bin/sing-box generate ' + type + ` ${req.args?.params || ''}`);
|
||||
const fd = popen(`/usr/bin/sing-box generate ${type} ${shellquote(req.args?.params || '')}`);
|
||||
if (fd) {
|
||||
let ech_cfg_set = false;
|
||||
let ech_key_set = false;
|
||||
|
||||
Reference in new issue
Block a user