Skip to content

Commit

Permalink
fix: Check path in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjoverm authored Oct 2, 2018
1 parent b476ba4 commit c557a86
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 c557a86

Please sign in to comment.