Change url param to src in Web API

This commit is contained in:
Alexey Khit
2022-08-24 09:55:16 +03:00
parent 8f01b08d42
commit 8377cf2655
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ import (
)
func frameHandler(w http.ResponseWriter, r *http.Request) {
url := r.URL.Query().Get("url")
stream := streams.Get(url)
src := r.URL.Query().Get("src")
stream := streams.Get(src)
if stream == nil {
return
}