mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +00:00
modified: web/assets/js/model/inbound.js
This commit is contained in:
parent
48ad787f45
commit
10839023d1
1 changed files with 0 additions and 3 deletions
|
|
@ -2179,10 +2179,7 @@ class Inbound extends XrayCommonClass {
|
||||||
}
|
}
|
||||||
|
|
||||||
getWireguardTxt(address, port, remark, peerId) {
|
getWireguardTxt(address, port, remark, peerId) {
|
||||||
<<<<<<< HEAD
|
|
||||||
const DNS = this.settings.DNS || '1.1.1.1, 1.0.0.1';
|
const DNS = this.settings.DNS || '1.1.1.1, 1.0.0.1';
|
||||||
=======
|
|
||||||
>>>>>>> 0b5c239f98fd112df10ed4846377563a391ebf60
|
|
||||||
let txt = `[Interface]\n`
|
let txt = `[Interface]\n`
|
||||||
txt += `PrivateKey = ${this.settings.peers[peerId].privateKey}\n`
|
txt += `PrivateKey = ${this.settings.peers[peerId].privateKey}\n`
|
||||||
txt += `Address = ${this.settings.peers[peerId].allowedIPs[0]}\n`
|
txt += `Address = ${this.settings.peers[peerId].allowedIPs[0]}\n`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue