mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 16:43:26 +02:00
Rename the APP global variable to APPSTATE. It will soon contain more information.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user