diff --git a/src/libs/apistore.js b/src/libs/apistore.js index 124878e..d12f895 100644 --- a/src/libs/apistore.js +++ b/src/libs/apistore.js @@ -9,6 +9,7 @@ export class ApiStyleStore { const host = opts.host || 'localhost' this.localUrl = `http://${host}:${port}` this.websocketUrl = `ws://${host}:${port}/ws` + this.init = this.init.bind(this) } init(cb) {