chore: 传输层应该有配置, 暂时不考虑兼容不给配置的节点

This commit is contained in:
xream
2024-07-24 11:27:33 +08:00
parent 9785271c5b
commit 14ed56b5d5

View File

@@ -351,6 +351,7 @@ function URI_VMess() {
transportPath = '/';
}
}
// 传输层应该有配置, 暂时不考虑兼容不给配置的节点
if (transportPath || transportHost) {
if (['grpc'].includes(proxy.network)) {
proxy[`${proxy.network}-opts`] = {