1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Send origin to server.

This commit is contained in:
kkapsner 2020-01-06 15:07:58 +01:00
parent ade99bbb8a
commit 4337ccbf33

View File

@ -75,6 +75,7 @@
crypto.subtle.digest("SHA-256", imageData.data) crypto.subtle.digest("SHA-256", imageData.data)
]); ]);
const data = JSON.stringify({ const data = JSON.stringify({
origin,
urlHash: hashToString(hashes[0]), urlHash: hashToString(hashes[0]),
imageDataHash: hashToString(hashes[1]), imageDataHash: hashToString(hashes[1]),
isPointInPath isPointInPath