mirror of
https://github.com/v2board/v2board.git
synced 2025-02-25 14:50:26 +08:00
vmess: sniffing opt
This commit is contained in:
parent
855e3c1c26
commit
c9357b602a
@ -204,6 +204,9 @@ class ServerService
|
|||||||
$protocolObj->outboundTag = 'block';
|
$protocolObj->outboundTag = 'block';
|
||||||
array_push($json->routing->rules, $protocolObj);
|
array_push($json->routing->rules, $protocolObj);
|
||||||
}
|
}
|
||||||
|
if (empty($domainRules) && empty($protocolRules)) {
|
||||||
|
$json->inbound->sniffing->enable = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function setTls(Server $server, object $json)
|
private function setTls(Server $server, object $json)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user