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

This commit is contained in:
xream 2024-07-24 11:27:33 +08:00
parent 9785271c5b
commit 14ed56b5d5
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9

View File

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