mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 11:28:59 +08:00
fix: 修复 Surge WireGuard allowed-ips 双引号
This commit is contained in:
parent
437297b8b0
commit
1c6d761e09
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.239",
|
"version": "2.14.240",
|
||||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -843,7 +843,7 @@ private-key = ${proxy['private-key']}`);
|
|||||||
}
|
}
|
||||||
const peer = {
|
const peer = {
|
||||||
'public-key': proxy['public-key'],
|
'public-key': proxy['public-key'],
|
||||||
'allowed-ips': allowedIps,
|
'allowed-ips': allowedIps ? `"${allowedIps}"` : undefined,
|
||||||
endpoint: `${proxy.server}:${proxy.port}`,
|
endpoint: `${proxy.server}:${proxy.port}`,
|
||||||
keepalive: proxy['persistent-keepalive'] || proxy.keepalive,
|
keepalive: proxy['persistent-keepalive'] || proxy.keepalive,
|
||||||
'client-id': reserved,
|
'client-id': reserved,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user