mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-29 08:00:32 +01:00
Fix this being undefined
This commit is contained in:
parent
afbaaa66bc
commit
efd0b547e9
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ export class ApiStyleStore {
|
||||||
const host = opts.host || 'localhost'
|
const host = opts.host || 'localhost'
|
||||||
this.localUrl = `http://${host}:${port}`
|
this.localUrl = `http://${host}:${port}`
|
||||||
this.websocketUrl = `ws://${host}:${port}/ws`
|
this.websocketUrl = `ws://${host}:${port}/ws`
|
||||||
|
this.init = this.init.bind(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
init(cb) {
|
init(cb) {
|
||||||
|
|
Loading…
Reference in a new issue