mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
[feature] add httpUpgrade transport
Co-Authored-By: MHSanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
@@ -217,6 +217,8 @@ func (s *SubJsonService) streamData(stream string) map[string]interface{} {
|
||||
streamSettings["tcpSettings"] = s.removeAcceptProxy(streamSettings["tcpSettings"])
|
||||
case "ws":
|
||||
streamSettings["wsSettings"] = s.removeAcceptProxy(streamSettings["wsSettings"])
|
||||
case "httpupgrade":
|
||||
streamSettings["httpupgradeSettings"] = s.removeAcceptProxy(streamSettings["httpupgradeSettings"])
|
||||
}
|
||||
|
||||
return streamSettings
|
||||
|
||||
Reference in New Issue
Block a user