mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-31 03:28:49 +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: []
|
||||
},
|
||||
player: {
|
||||
regexp: /^\/player\/?$/i,
|
||||
urlParamsNames: []
|
||||
regexp: /^\/player\/(?:([^\/]+?))\/(?:([^\/]+?))\/(?:([^\/]+?))\/(?:([^\/]+?))\/?$/i,
|
||||
urlParamsNames: ['type', 'id', 'videoId', 'stream']
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue