Rename the APP global variable to APPSTATE. It will soon contain more information.

This commit is contained in:
Simo Kinnunen
2014-07-03 18:42:52 +09:00
parent a392cd6613
commit 720292ae3c
3 changed files with 7 additions and 5 deletions

View File

@@ -84,8 +84,10 @@ module.exports = function(options) {
}))
// Variables for templates
app.locals.APP = {
websocketUrl: options.websocketUrl
app.locals.APPSTATE = {
config: {
websocketUrl: options.websocketUrl
}
}
// Proxied requests must come before any body parsers. These proxies are