Skip to content

Commit

Permalink
fix: Check path in lowercase (close#897) (#898)
Browse files Browse the repository at this point in the history
See #897
  • Loading branch information
alexjoverm authored and ulivz committed Oct 5, 2018
1 parent 5329b74 commit 94658ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/lib/prepare/ClientComputedMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
function findPageForPath (pages, path) {
for (let i = 0; i < pages.length; i++) {
const page = pages[i]
if (page.path === path) {
if (page.path.toLowerCase() === path.toLowerCase()) {
return page
}
}
Expand Down

0 comments on commit 94658ae

Please sign in to comment.