Remove '/' from homepage URL
As we are not always at the root of the web server.
This commit is contained in:
parent
8fee4941c3
commit
090a7c5761
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||||
// so that it can inherit CSS and theming easily rather than mess around
|
// so that it can inherit CSS and theming easily rather than mess around
|
||||||
// with iframes and trying to synchronise document.stylesheets.
|
// with iframes and trying to synchronise document.stylesheets.
|
||||||
|
|
||||||
let src = this.props.homePageUrl || '/home.html';
|
let src = this.props.homePageUrl || 'home.html';
|
||||||
|
|
||||||
request(
|
request(
|
||||||
{ method: "GET", url: src },
|
{ method: "GET", url: src },
|
||||||
|
|
Loading…
Reference in New Issue