Minor Bug fixed

This commit is contained in:
Peng-YM
2020-09-01 20:24:32 +08:00
parent 2d6aa1ef1a
commit 80294618fb
4 changed files with 43 additions and 8 deletions

View File

@@ -1692,12 +1692,12 @@ function Raw_Producer() {
/**************************** Operators ***************************************/
// force to set some properties (e.g., scert, udp, tfo, etc.)
function SetPropertyOperator(key, val) {
function SetPropertyOperator({key, value}) {
return {
name: "Set Property Operator",
func: (proxies) => {
return proxies.map((p) => {
p[key] = val;
p[key] = value;
return p;
});
},