mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-25 21:00:21 +03:00
eslint
This commit is contained in:
parent
c19cb72b6d
commit
e843593b17
4 changed files with 7 additions and 3 deletions
4
package-lock.json
generated
Normal file
4
package-lock.json
generated
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1
|
||||
}
|
|
@ -38,7 +38,7 @@ module.exports = class WireGuard {
|
|||
} catch (err) {
|
||||
const privateKey = await Util.exec('wg genkey');
|
||||
const publicKey = await Util.exec(`echo ${privateKey} | wg pubkey`, {
|
||||
log: `echo ***hidden*** | wg pubkey`
|
||||
log: 'echo ***hidden*** | wg pubkey',
|
||||
});
|
||||
const address = WG_DEFAULT_ADDRESS.replace('x', '1');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue