Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Cannot serve off /.../index.html #1372

Merged
Prev Previous commit
Fix IE11 error from use of String.includes()
jhildenbiddle authored Feb 7, 2021
commit d94d259ac0390f5c865ae619a7a18232cbf0709f
2 changes: 1 addition & 1 deletion src/core/router/util.js
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ export const resolvePath = cached(path => {
function normaliseFragment(path) {
return path
.split('/')
.filter(p => !p.includes('#'))
.filter(p => p.indexOf('#') === -1)
.join('/');
}