From 838394815d2a08f67223c62914200c2048b2458b Mon Sep 17 00:00:00 2001 From: Ryan Henning Date: Tue, 16 Jun 2020 14:37:47 -0500 Subject: [PATCH] fix(vue-app): `redirect` no longer strips trailing slash from URL (#7475) --- packages/vue-app/template/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-app/template/utils.js b/packages/vue-app/template/utils.js index e6e145344f..67ddb25cb3 100644 --- a/packages/vue-app/template/utils.js +++ b/packages/vue-app/template/utils.js @@ -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) {