mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(vue-app): redirect
no longer strips trailing slash from URL (#7475)
This commit is contained in:
parent
92ef65c8ed
commit
838394815d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user