diff --git a/clientapp/app.js b/clientapp/app.js index b5dcf1f..0ac0603 100644 --- a/clientapp/app.js +++ b/clientapp/app.js @@ -78,6 +78,8 @@ module.exports = { function start() { // start our router and show the appropriate page app.history.start({pushState: true, root: '/'}); + if (app.history.fragment == '' && SERVER_CONFIG.startup) + app.navigate(SERVER_CONFIG.startup); cb(); } diff --git a/dev_config.json b/dev_config.json index a44c52f..f5f7a8b 100644 --- a/dev_config.json +++ b/dev_config.json @@ -16,5 +16,6 @@ "domain": "localhost", "wss": "wss://localhost:5281/xmpp-websocket/", "muc": "chat.localhost", + "startup": "" } }