Remove a hack that's no longer needed

This commit is contained in:
Brahim Hadriche committed 2023-07-01 22:57:02 -04:00
1 parent 8bc9cec570
commit 5c2a590877
1 file changed
-4
@@ -28,10 +28,6 @@ namespace Http
resp = Requests().get(dashUrl, { parseJson: false })
text = resp.text ?? ""
if resp.statuscode = 200 and local = "true"
' TODO: no longer needed, remove after 6 months of https://github.com/iv-org/invidious/pull/3554
text = text.Replace("<BaseURL>/videoplayback", `<BaseURL>${instance}/videoplayback`)
end if
if resp.statuscode = 200 and metadata <> invalid
text = router.InjectStoryBoard(router, text, metadata)