mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-18 01:05:55 +00:00
addons screen route regexp updated to match with type only
This commit is contained in:
parent
d7b2588bb8
commit
01a2d5162b
1 changed files with 2 additions and 2 deletions
|
|
@ -30,8 +30,8 @@ const routesRegexp = {
|
|||
urlParamsNames: ['type', 'id', 'videoId']
|
||||
},
|
||||
addons: {
|
||||
regexp: /^\/addons(?:\/([^/]*)\/([^/]*)\/([^/]*))?$/,
|
||||
urlParamsNames: ['transportUrl', 'catalogId', 'type']
|
||||
regexp: /^\/addons(?:\/([^/]*)(?:\/([^/]*)\/([^/]*))?)?$/,
|
||||
urlParamsNames: ['type', 'transportUrl', 'catalogId']
|
||||
},
|
||||
settings: {
|
||||
regexp: /^\/settings$/,
|
||||
|
|
|
|||
Loading…
Reference in a new issue