mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
player route regexp implemented
This commit is contained in:
parent
0696ac48ac
commit
1cbb5ed911
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ const routesRegexp = {
|
||||||
urlParamsNames: []
|
urlParamsNames: []
|
||||||
},
|
},
|
||||||
player: {
|
player: {
|
||||||
regexp: /^\/player\/?$/i,
|
regexp: /^\/player\/(?:([^\/]+?))\/(?:([^\/]+?))\/(?:([^\/]+?))\/(?:([^\/]+?))\/?$/i,
|
||||||
urlParamsNames: []
|
urlParamsNames: ['type', 'id', 'videoId', 'stream']
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue