From 090a7c576136175fdf62526371c90bd80abf7625 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 7 Jun 2017 11:20:41 +0100 Subject: [PATCH] Remove '/' from homepage URL As we are not always at the root of the web server. --- src/components/structures/HomePage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index 8c62a2bc2..c646f1ceb 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -56,7 +56,7 @@ module.exports = React.createClass({ // so that it can inherit CSS and theming easily rather than mess around // with iframes and trying to synchronise document.stylesheets. - let src = this.props.homePageUrl || '/home.html'; + let src = this.props.homePageUrl || 'home.html'; request( { method: "GET", url: src },