sort url param declared optional

This commit is contained in:
nklhrstv 2020-02-18 16:36:05 +02:00
parent 7e1a467217
commit b119d1b2d6

View file

@ -12,7 +12,7 @@ const routesRegexp = {
urlParamsNames: ['transportUrl', 'type', 'catalogId']
},
library: {
regexp: /^\/library(?:\/([^/]*)\/([^/]*))?$/,
regexp: /^\/library(?:\/([^/]*))?(?:\/([^/]*))?$/,
urlParamsNames: ['type', 'sort']
},
search: {