修复拼写错误

This commit is contained in:
langhuihui
2021-01-13 22:13:57 +08:00
parent ad29c0ada4
commit 791368988b

View File

@@ -21,9 +21,9 @@ func WsHandler(w http.ResponseWriter, r *http.Request) {
return
}
parts := streamPathReg.FindStringSubmatch(r.RequestURI)
stringPath := parts[3]
if stringPath == "" {
stringPath = parts[5]
streamPath := parts[3]
if streamPath == "" {
streamPath = parts[5]
} else {
isFlv = true
}