👌 IMPROVE: 增加对订阅传参的支持

This commit is contained in:
dexter
2022-10-03 18:43:58 +08:00
parent bcd0a5960a
commit f7c6941189

View File

@@ -106,6 +106,9 @@ func (j *JessicaConfig) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} else {
isFlv = true
}
if r.URL.RawQuery != "" {
streamPath += "?" + r.URL.RawQuery
}
conn, _, _, err := ws.UpgradeHTTP(r, w)
if err != nil {
return