We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 137772b commit c6686ecCopy full SHA for c6686ec
1 file changed
web-frontend/modules/builder/utils/routing.js
@@ -4,12 +4,10 @@ export const resolveApplicationRoute = (pages, fullPath) => {
4
if (fullPath === undefined || fullPath === null) {
5
return undefined
6
}
7
- // Nuxt route.fullPath usually includes query/hash; path-to-regexp matches pathnames.
8
- const pathname = fullPath.split('?')[0].split('#')[0]
9
10
for (const page of pages) {
11
const matcher = match(page.path.slice(1))
12
- const matched = matcher(pathname)
+ const matched = matcher(fullPath)
13
14
if (matched) {
15
// matched = { path, params, index? }
0 commit comments