Skip to content

Commit cefc8c3

Browse files
meteorlxyulivz
authored andcommitted
fix: $page is missing at 404 page (#388)
1 parent 21ff612 commit cefc8c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/app/util.js

+4
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ export function findPageForPath (pages, path) {
1313
return page
1414
}
1515
}
16+
return {
17+
path: '',
18+
frontmatter: {}
19+
}
1620
}

0 commit comments

Comments
 (0)