Browse Source
fix expected parentheses around arrow function argument
pull/708/head
Astound
3 years ago
No known key found for this signature in database
GPG Key ID: 97504AF0027B1A56
1 changed files with
1 additions and
1 deletions
-
src/lib/WireGuard.js
|
|
|
@ -198,7 +198,7 @@ AllowedIPs = ${client.address}/32, ${client.address6}/128`; |
|
|
|
const config = await this.getConfig(); |
|
|
|
const client = await this.getClient({ clientId }); |
|
|
|
const isDnsSet = WG_DEFAULT_DNS || WG_DEFAULT_DNS6; |
|
|
|
const dnsServers = [WG_DEFAULT_DNS, WG_DEFAULT_DNS6].filter(item => !!item).join(', ') |
|
|
|
const dnsServers = [WG_DEFAULT_DNS, WG_DEFAULT_DNS6].filter((item) => !!item).join(', '); |
|
|
|
|
|
|
|
return ` |
|
|
|
[Interface] |
|
|
|
|