mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-06-04 11:13:59 +08:00
fix: 修复 URI 输出
This commit is contained in:
parent
4f745b0232
commit
55cc7dcd16
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.19.27",
|
"version": "2.19.28",
|
||||||
"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": {
|
||||||
|
@ -478,7 +478,7 @@ export default function URI_Producer() {
|
|||||||
hysteriaParams.push(`obfsParam=${proxy[key]}`);
|
hysteriaParams.push(`obfsParam=${proxy[key]}`);
|
||||||
} else if (['sni'].includes(key)) {
|
} else if (['sni'].includes(key)) {
|
||||||
hysteriaParams.push(`peer=${proxy[key]}`);
|
hysteriaParams.push(`peer=${proxy[key]}`);
|
||||||
} else if (proxy[key]) {
|
} else if (proxy[key] && !/^_/i.test(key)) {
|
||||||
hysteriaParams.push(
|
hysteriaParams.push(
|
||||||
`${i}=${encodeURIComponent(proxy[key])}`,
|
`${i}=${encodeURIComponent(proxy[key])}`,
|
||||||
);
|
);
|
||||||
@ -541,7 +541,7 @@ export default function URI_Producer() {
|
|||||||
tuicParams.push(
|
tuicParams.push(
|
||||||
`congestion_control=${proxy[key]}`,
|
`congestion_control=${proxy[key]}`,
|
||||||
);
|
);
|
||||||
} else if (proxy[key]) {
|
} else if (proxy[key] && !/^_/i.test(key)) {
|
||||||
tuicParams.push(
|
tuicParams.push(
|
||||||
`${i.replace(
|
`${i.replace(
|
||||||
/-/g,
|
/-/g,
|
||||||
@ -593,7 +593,7 @@ export default function URI_Producer() {
|
|||||||
if (proxy[key]) {
|
if (proxy[key]) {
|
||||||
anytlsParams.push(`udp=1`);
|
anytlsParams.push(`udp=1`);
|
||||||
}
|
}
|
||||||
} else if (proxy[key]) {
|
} else if (proxy[key] && !/^_/i.test(key)) {
|
||||||
anytlsParams.push(
|
anytlsParams.push(
|
||||||
`${i.replace(/-/g, '_')}=${encodeURIComponent(
|
`${i.replace(/-/g, '_')}=${encodeURIComponent(
|
||||||
proxy[key],
|
proxy[key],
|
||||||
@ -630,7 +630,7 @@ export default function URI_Producer() {
|
|||||||
if (proxy[key]) {
|
if (proxy[key]) {
|
||||||
wireguardParams.push(`${key}=1`);
|
wireguardParams.push(`${key}=1`);
|
||||||
}
|
}
|
||||||
} else if (proxy[key]) {
|
} else if (proxy[key] && !/^_/i.test(key)) {
|
||||||
wireguardParams.push(
|
wireguardParams.push(
|
||||||
`${key}=${encodeURIComponent(proxy[key])}`,
|
`${key}=${encodeURIComponent(proxy[key])}`,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user