mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 01:29:00 +08:00
commit
9558b63261
@ -415,6 +415,13 @@ function lastParse(proxy) {
|
|||||||
) {
|
) {
|
||||||
delete proxy['reality-opts'];
|
delete proxy['reality-opts'];
|
||||||
}
|
}
|
||||||
|
// 删除 grpc-opts: {}
|
||||||
|
if (
|
||||||
|
proxy['grpc-opts'] &&
|
||||||
|
Object.keys(proxy['grpc-opts']).length === 0
|
||||||
|
) {
|
||||||
|
delete proxy['grpc-opts'];
|
||||||
|
}
|
||||||
// 非 reality, 空 flow 没有意义
|
// 非 reality, 空 flow 没有意义
|
||||||
if (!proxy['reality-opts'] && !proxy.flow) {
|
if (!proxy['reality-opts'] && !proxy.flow) {
|
||||||
delete proxy.flow;
|
delete proxy.flow;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user