Skip to content

Commit 94658ae

Browse files
alexjovermulivz
authored andcommitted
fix: Check path in lowercase (close#897) (#898)
See #897
1 parent 5329b74 commit 94658ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/prepare/ClientComputedMixin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
function findPageForPath (pages, path) {
1212
for (let i = 0; i < pages.length; i++) {
1313
const page = pages[i]
14-
if (page.path === path) {
14+
if (page.path.toLowerCase() === path.toLowerCase()) {
1515
return page
1616
}
1717
}

0 commit comments

Comments
 (0)