mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-28 05:02:43 +03:00
Add Snell protocol. Refactor MASQUE HTTP/2, Fair Queue. Update XHTTP, OpenVPN, Sudoku, Fallback. Fixes
This commit is contained in:
10
transport/v2raygrpclite/path.go
Normal file
10
transport/v2raygrpclite/path.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package v2raygrpclite
|
||||
|
||||
import "strings"
|
||||
|
||||
func grpcPath(serviceName string) string {
|
||||
if strings.Contains(serviceName, "/") {
|
||||
return serviceName
|
||||
}
|
||||
return "/" + serviceName + "/Tun"
|
||||
}
|
||||
Reference in New Issue
Block a user