Add websocketUrl view local
This commit is contained in:
parent
79d3b51f90
commit
47e0756930
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wms-core",
|
||||
"version": "0.22.0-rc.16",
|
||||
"version": "0.22.0-rc.17",
|
||||
"description": "Node web application framework and toolbelt.",
|
||||
"repository": "https://gitlab.com/ArisuOngaku/wms-core",
|
||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||
|
@ -64,6 +64,7 @@ export default class NunjucksComponent extends ApplicationComponent<void> {
|
||||
res.locals.body = req.body;
|
||||
|
||||
res.locals.app = config.get('app');
|
||||
res.locals.websocketUrl = config.get('public_websocket_url');
|
||||
|
||||
next();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user