mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-08 01:57:02 +02: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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user