stremio-web
stremio-web copied to clipboard
fix: metaDetails redirect when route ends with /
Fixes an issue with the meta details, episode picker and handling of the routes.
Fixed meta details & episode picker:
- https://localhost:8080/#/detail/series/tt13406094/ - was giving the season/episode picker and was redirecting wrongly to
https://localhost:8080/tt13406094%3A1%3A1#/detail/series/tt13406094/ - https://localhost:8080/#/detail/series/tt13406094 - showed video list with season selected
Handling the route, on empty videoId don't set the streamPath as it leads to the Episode picker