diff --git a/src/common/routesRegexp.js b/src/common/routesRegexp.js index e0a414f76..d3173b300 100644 --- a/src/common/routesRegexp.js +++ b/src/common/routesRegexp.js @@ -12,7 +12,7 @@ const routesRegexp = { urlParamsNames: ['addonTransportUrl', 'type', 'catalogId'] }, library: { - regexp: /^\/library(?:\/([^\/]*)\/?)?$/i, + regexp: /^\/library(?:\/([^\/]*))?\/?$/i, urlParamsNames: ['type'] }, search: {