Skip to content

Commit

Permalink
fix 404 page not shown for paths with more than one slash (#6791)
Browse files Browse the repository at this point in the history
  • Loading branch information
jomapp committed Mar 27, 2024
1 parent 68781db commit a07af3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ import("./translations/en")
}

// append catch all at the end because mithril will stop at the first match
resolvers["/:path"] = {
resolvers["/:path..."] = {
onmatch: async () => {
const { NotFoundPage } = await import("./gui/base/NotFoundPage.js")
return {
Expand Down

0 comments on commit a07af3e

Please sign in to comment.