@ -31,6 +31,10 @@ func genericHTTPProxy(w http.ResponseWriter, req *http.Request) {
host := q.Get("host")
q.Del("host")
if len(host) <= 0 {
host = q.Get("hls_chunk_host")
}
host = getHost(req.URL.Path)