Minor changes (#844)

* set alpn h2 and https1 for tls

* VLESS as default

* if there is no security set to none

* better view for Allowed IPs wireguard outbound

* cpuCoreFormat

* matrix release + arm arch

s390x removed

* fix typo

* remove migrate_v2_ui

* bash - custom version

* fix translation

* update xray to 1.8.7

* auto gen + button for kcp & quic

* fix typo

* Centralized Xray URLs
This commit is contained in:
Ho3ein
2024-01-11 02:26:42 +03:30
committed by GitHub
parent 3b3d70aeaa
commit c841c1f148
14 changed files with 220 additions and 214 deletions

View File

@@ -962,11 +962,11 @@ Outbound.WireguardSettings = class extends CommonClass {
}
};
Outbound.WireguardSettings.Peer = class extends CommonClass {
constructor(publicKey='', psk='', allowedIPs='0.0.0.0/0,::/0', endpoint='', keepAlive=0) {
constructor(publicKey='', psk='', allowedIPs=['0.0.0.0/0','::/0'], endpoint='', keepAlive=0) {
super();
this.publicKey = publicKey;
this.psk = psk;
this.allowedIPs = allowedIPs instanceof Array ? allowedIPs.join(',') : allowedIPs;
this.allowedIPs = allowedIPs;
this.endpoint = endpoint;
this.keepAlive = keepAlive;
}