mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Outbound - UoTVersion for SS
This commit is contained in:
parent
e275adbccd
commit
8259024fbe
2 changed files with 7 additions and 1 deletions
|
@ -950,13 +950,14 @@ Outbound.TrojanSettings = class extends CommonClass {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Outbound.ShadowsocksSettings = class extends CommonClass {
|
Outbound.ShadowsocksSettings = class extends CommonClass {
|
||||||
constructor(address, port, password, method, uot) {
|
constructor(address, port, password, method, uot, UoTVersion) {
|
||||||
super();
|
super();
|
||||||
this.address = address;
|
this.address = address;
|
||||||
this.port = port;
|
this.port = port;
|
||||||
this.password = password;
|
this.password = password;
|
||||||
this.method = method;
|
this.method = method;
|
||||||
this.uot = uot;
|
this.uot = uot;
|
||||||
|
this.UoTVersion = UoTVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
static fromJson(json={}) {
|
static fromJson(json={}) {
|
||||||
|
@ -968,6 +969,7 @@ Outbound.ShadowsocksSettings = class extends CommonClass {
|
||||||
servers[0].password,
|
servers[0].password,
|
||||||
servers[0].method,
|
servers[0].method,
|
||||||
servers[0].uot,
|
servers[0].uot,
|
||||||
|
servers[0].UoTVersion,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -979,6 +981,7 @@ Outbound.ShadowsocksSettings = class extends CommonClass {
|
||||||
password: this.password,
|
password: this.password,
|
||||||
method: this.method,
|
method: this.method,
|
||||||
uot: this.uot,
|
uot: this.uot,
|
||||||
|
UoTVersion: this.UoTVersion,
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,6 +187,9 @@
|
||||||
<a-form-item label='UDP over TCP'>
|
<a-form-item label='UDP over TCP'>
|
||||||
<a-switch v-model="outbound.settings.uot"></a-switch>
|
<a-switch v-model="outbound.settings.uot"></a-switch>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
<a-form-item label='UoTVersion'>
|
||||||
|
<a-input-number v-model.number="outbound.settings.UoTVersion" :min="1" :max="2"></a-input-number>
|
||||||
|
</a-form-item>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue