We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b79768c commit 505fea6Copy full SHA for 505fea6
packages/@vuepress/core/lib/app/redirect.js
@@ -50,5 +50,5 @@ export function handleRedirectForCleanUrls (router) {
50
}
51
52
function isRouteExists (router, path) {
53
- return router.options.routes.filter(route => route.path === path).length > 0
+ return router.options.routes.filter(route => route.path.toLowerCase() === path.toLowerCase()).length > 0
54
0 commit comments