diff --git a/app/assets/javascripts/discourse/app/mapping-router.js b/app/assets/javascripts/discourse/app/mapping-router.js index ca6728a1fbf..0e69bb19783 100644 --- a/app/assets/javascripts/discourse/app/mapping-router.js +++ b/app/assets/javascripts/discourse/app/mapping-router.js @@ -12,7 +12,7 @@ const BareRouter = EmberRouter.extend({ url = rewritePath(url); const params = url.split("?"); - if (params[0] === "/") { + if (params[0] === "/" || params[0] === "") { url = defaultHomepage(); if (params[1] && params[1].length) { url = `${url}?${params[1]}`;