Refactor: remove logs
This commit is contained in:
parent
1646622a61
commit
cb03447971
1 changed files with 0 additions and 3 deletions
|
@ -73,11 +73,8 @@ document.addEventListener('alpine:init', () => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(performanceEntry)
|
|
||||||
const requestDuration = performanceEntry.responseEnd - performanceEntry.requestStart;
|
const requestDuration = performanceEntry.responseEnd - performanceEntry.requestStart;
|
||||||
this.timeOffsetToServer = performanceEntry.responseEnd - data.data.currentServerTime + (requestDuration / 2);
|
this.timeOffsetToServer = performanceEntry.responseEnd - data.data.currentServerTime + (requestDuration / 2);
|
||||||
console.log(requestDuration, "offset: ", this.timeOffsetToServer)
|
|
||||||
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue