Treat "simple-obfs" in sing-box configs as obfs-local

This commit is contained in:
Tindy X committed 2023-11-19 18:29:04 +08:00
1 parent c578ea6318
commit 7968d54476
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ namespace qjs
string_icase_map res;
JSPropertyEnum *props = nullptr, *props_begin;
uint32_t len = 0;
JS_GetOwnPropertyNames(ctx, &props, &len, v, 1);
JS_GetOwnPropertyNames(ctx, &props, &len, v, JS_GPN_STRING_MASK | JS_GPN_ENUM_ONLY);
props_begin = props;
while(len > 0)
{