Fixed: set default empty tokens configuration if nothing is passed.
Fixed: NPM on Windows doesn't like path in single quotes.
This commit is contained in:
@@ -11,6 +11,8 @@ class ClientManager {
|
||||
constructor(opt) {
|
||||
this.opt = opt || {};
|
||||
|
||||
this.opt.tokens = this.opt.tokens || {};
|
||||
|
||||
// id -> client instance
|
||||
this.clients = new Map();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user