Skip to content

🎥 Make videos programmatically with React

Update license-blacklist.tsx

Jonny Burgerf18cec8fa967
diff --git a/packages/player/src/license-blacklist.tsx b/packages/player/src/license-blacklist.tsx
index 4e5327b7bc..d56133e2df 100644
--- a/packages/player/src/license-blacklist.tsx
+++ b/packages/player/src/license-blacklist.tsx
@@ -16,7 +16,8 @@ export const getHashOfDomain = async (): Promise<string | null> => {
try {
const hashBuffer = await crypto.subtle.digest(
'SHA-256',
- // @ts-expect-error
+ // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
+ // @ts-ignore
new TextEncoder().encode(window.location.hostname),
);