handle /detail as /metadetails page

This commit is contained in:
nklhrstv 2022-08-02 18:12:45 +03:00
parent 852a6fc80f
commit 3c529e3366

View file

@ -26,7 +26,7 @@ const routesRegexp = {
urlParamsNames: []
},
metadetails: {
regexp: /^\/metadetails\/([^/]*)\/([^/]*)(?:\/([^/]*))?$/,
regexp: /^\/(?:metadetails|detail)\/([^/]*)\/([^/]*)(?:\/([^/]*))?$/,
urlParamsNames: ['type', 'id', 'videoId']
},
addons: {