fix(vue-app): redirect no longer strips trailing slash from URL (#7475)

This commit is contained in:
Ryan Henning 2020-06-16 14:37:47 -05:00 committed by GitHub
parent 92ef65c8ed
commit 838394815d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,7 +596,7 @@ function formatUrl (url, query) {
let parts = url.split('/')
let result = (protocol ? protocol + '://' : '//') + parts.shift()
let path = parts.filter(Boolean).join('/')
let path = parts.join('/')
let hash
parts = path.split('#')
if (parts.length === 2) {