Remove '/' from homepage URL

As we are not always at the root of the web server.
This commit is contained in:
David Baker 2017-06-07 11:20:41 +01:00
parent 8fee4941c3
commit 090a7c5761

View File

@ -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 },