diff --git a/web/shared/watch.go b/web/shared/watch.go index e518e03..bfa5ddb 100644 --- a/web/shared/watch.go +++ b/web/shared/watch.go @@ -3,7 +3,6 @@ package shared import ( "encoding/json" "fmt" - "net/url" "strconv" ) @@ -44,13 +43,6 @@ type SkipSegment struct { End float64 `json:"end"` } -func BuildStreamURL(mode string, token string) string { - if token == "" { - return "" - } - return fmt.Sprintf("/watch/proxy/stream?mode=%s&token=%s", url.QueryEscape(mode), url.QueryEscape(token)) -} - func ModeToken(mode string, modeSources map[string]ModeSource) string { normalizedMode := mode if _, ok := modeSources[normalizedMode]; !ok {