Browse Source

fix expected parentheses around arrow function argument

pull/708/head
Astound 3 years ago
parent
commit
3236b65f8d
No known key found for this signature in database GPG Key ID: 97504AF0027B1A56
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -198,7 +198,7 @@ AllowedIPs = ${client.address}/32, ${client.address6}/128`;
const config = await this.getConfig(); const config = await this.getConfig();
const client = await this.getClient({ clientId }); const client = await this.getClient({ clientId });
const isDnsSet = WG_DEFAULT_DNS || WG_DEFAULT_DNS6; 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 ` return `
[Interface] [Interface]

Loading…
Cancel
Save