mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-21 16:25:49 +00:00
minor changes (#922)
* ipv6 for family Protection * warp - ForceIP * fix bug in edit SOCKS and HTTP outbound Co-Authored-By: Saeid <43953720+surbiks@users.noreply.github.com> * lang - export inbound * reset button - publicKey & psk * fix - Ensure logs are not null in show method --------- Co-authored-by: Saeid <43953720+surbiks@users.noreply.github.com>
This commit is contained in:
@@ -2098,7 +2098,7 @@ Inbound.WireguardSettings = class extends XrayCommonClass {
|
||||
};
|
||||
|
||||
Inbound.WireguardSettings.Peer = class extends XrayCommonClass {
|
||||
constructor(publicKey='', psk='', allowedIPs=['0.0.0.0/0','::/0'], keepAlive=0) {
|
||||
constructor(publicKey=Wireguard.generateKeypair().publicKey, psk='', allowedIPs=['0.0.0.0/0','::/0'], keepAlive=0) {
|
||||
super();
|
||||
this.publicKey = publicKey;
|
||||
this.psk = psk;
|
||||
|
||||
Reference in New Issue
Block a user