mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
use image from our server, this fixes the time mismatch issue i was facing earlier due to diff url/image
This commit is contained in:
parent
7cadc3de52
commit
92c2a42edf
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
const IMAGE_URL =
|
const IMAGE_URL = "https://portal.excalidraw.com/test128.png";
|
||||||
"https://user-images.githubusercontent.com/11256141/107128597-feb46700-68e4-11eb-80f7-1d259cc0151f.png";
|
const IMAGE_SIZE = 35747; // in bytes
|
||||||
const IMAGE_SIZE = 2666; // in bytes
|
|
||||||
const calculateSpeed = (startTime: number, endTime: number) => {
|
const calculateSpeed = (startTime: number, endTime: number) => {
|
||||||
const duration = (endTime - startTime) / 1000;
|
const duration = (endTime - startTime) / 1000;
|
||||||
const imageSizeInBits = IMAGE_SIZE * 8;
|
const imageSizeInBits = IMAGE_SIZE * 8;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue