mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-04 04:13:16 +08:00
fix: 修复 Surge WireGuard allowed-ips 双引号
This commit is contained in:
@@ -843,7 +843,7 @@ private-key = ${proxy['private-key']}`);
|
||||
}
|
||||
const peer = {
|
||||
'public-key': proxy['public-key'],
|
||||
'allowed-ips': allowedIps,
|
||||
'allowed-ips': allowedIps ? `"${allowedIps}"` : undefined,
|
||||
endpoint: `${proxy.server}:${proxy.port}`,
|
||||
keepalive: proxy['persistent-keepalive'] || proxy.keepalive,
|
||||
'client-id': reserved,
|
||||
|
||||
Reference in New Issue
Block a user