diff --git a/src/vector/mobile_guide/index.js b/src/vector/mobile_guide/index.js index b2d007ac..2c4785f3 100644 --- a/src/vector/mobile_guide/index.js +++ b/src/vector/mobile_guide/index.js @@ -13,6 +13,7 @@ async function initPage() { if (config && config['default_hs_url']) { hsUrl = config['default_hs_url']; } + if (hsUrl && !hsUrl.endsWith('/')) hsUrl += '/'; if (hsUrl && hsUrl !== 'https://matrix.org/') { document.getElementById('step2_container').style.display = 'block'; document.getElementById('hs_url').innerHTML = hsUrl;