mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-16 11:44:50 +00:00
hls: return 404 when requesting hls.min.js.map (#2262)
This commit is contained in:
parent
e74c45865a
commit
8e955d2119
@ -128,7 +128,7 @@ func (s *hlsHTTPServer) onRequest(ctx *gin.Context) {
|
||||
ctx.Writer.Write(hlsMinJS)
|
||||
return
|
||||
|
||||
case pa == "", pa == "favicon.ico":
|
||||
case pa == "", pa == "favicon.ico", strings.HasSuffix(pa, "/hls.min.js.map"):
|
||||
return
|
||||
|
||||
case strings.HasSuffix(pa, ".m3u8") ||
|
||||
|
Loading…
Reference in New Issue
Block a user