diff --git a/package.json b/package.json index d05e324..d76adc4 100644 --- a/package.json +++ b/package.json @@ -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 ", diff --git a/src/components/NunjucksComponent.ts b/src/components/NunjucksComponent.ts index b274ee7..e5da4c7 100644 --- a/src/components/NunjucksComponent.ts +++ b/src/components/NunjucksComponent.ts @@ -64,6 +64,7 @@ export default class NunjucksComponent extends ApplicationComponent { res.locals.body = req.body; res.locals.app = config.get('app'); + res.locals.websocketUrl = config.get('public_websocket_url'); next(); });