Изменения механизма ограничения доступа

This commit is contained in:
Book Pauk
2022-11-27 18:34:01 +07:00
parent 59b4f48897
commit abb3baf94b
3 changed files with 18 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ class WebSocketController {
async getConfig(req, ws) {
const config = _.pick(this.config, this.config.webConfigParams);
config.dbConfig = await this.webWorker.dbConfig();
config.freeAccess = this.freeAccess;
this.send(config, req, ws);
}