webrtc muxer: fix HTTP status code of index page
Status code was 404, not is 200.
This commit is contained in:
parent
6d14b011c4
commit
5a0143056a
|
@ -374,6 +374,7 @@ func (s *webRTCServer) onRequest(ctx *gin.Context) {
|
|||
switch fname {
|
||||
case "":
|
||||
ctx.Writer.Header().Set("Content-Type", "text/html")
|
||||
ctx.Writer.WriteHeader(http.StatusOK)
|
||||
ctx.Writer.Write(webrtcIndex)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue