Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default context => {
const matchedComponents = router.getMatchedComponents()
// no matched routes, reject with 404
if (!matchedComponents.length) {
reject({ code: 404 })
return reject({ code: 404 })
}

// the Promise should resolve to the app instance so it can be rendered
Expand Down