mirror of
https://github.com/moparisthebest/kaiwa
synced 2025-01-11 21:58:35 -05:00
Define the start page in the config file
This commit is contained in:
parent
b5f3041e42
commit
5cb060242d
@ -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();
|
||||
}
|
||||
|
||||
|
@ -16,5 +16,6 @@
|
||||
"domain": "localhost",
|
||||
"wss": "wss://localhost:5281/xmpp-websocket/",
|
||||
"muc": "chat.localhost",
|
||||
"startup": ""
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user