1337.
This commit is contained in:
parent
9849b6ea12
commit
fc88078783
@ -26,7 +26,6 @@ class Metriki {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit(data){
|
emit(data){
|
||||||
console.info(data)
|
|
||||||
this.ws.send(JSON.stringify(data))
|
this.ws.send(JSON.stringify(data))
|
||||||
}
|
}
|
||||||
emitVisit(){
|
emitVisit(){
|
||||||
@ -81,7 +80,6 @@ class Metriki {
|
|||||||
}else{
|
}else{
|
||||||
this.url += "/event"
|
this.url += "/event"
|
||||||
}
|
}
|
||||||
console.log(this.url)
|
|
||||||
const me = this
|
const me = this
|
||||||
this.ws = new WebSocket(this.url)
|
this.ws = new WebSocket(this.url)
|
||||||
this.ws.onopen = () => {
|
this.ws.onopen = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user