mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-07 06:19:30 +00:00
metadetails regexp changed to support empty strings
This commit is contained in:
parent
104bac91ec
commit
6cd1b93ca3
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ const routesRegexp = {
|
|||
urlParamsNames: []
|
||||
},
|
||||
metadetails: {
|
||||
regexp: /^\/metadetails\/(?:([^\/]+?))\/(?:([^\/]+?))(?:\/([^\/]*?))?\/?$/i,
|
||||
regexp: /^\/metadetails\/(?:([^\/]*)\/)(?:([^\/]*)\/?)(?:([^\/]*)\/?)?$/i,
|
||||
urlParamsNames: ['type', 'id', 'videoId']
|
||||
},
|
||||
addons: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue