From a01e4bad78f1ed4e92e075020d46e92fd3568fab Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 2 Mar 2022 12:45:26 -0500 Subject: [PATCH] update iframe type + sentry --- .sentryclirc | 6 +++--- ui/index.jsx | 2 +- web/src/html.js | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.sentryclirc b/.sentryclirc index 84164da01..a75fa216d 100644 --- a/.sentryclirc +++ b/.sentryclirc @@ -1,4 +1,4 @@ [defaults] -url = https://sentry.lbry.tech/ -org = lbry -project = lbry-desktop-web \ No newline at end of file +url = https://sentry.odysee.tv/ +org = odysee +project = odysee-web diff --git a/ui/index.jsx b/ui/index.jsx index 2b3ba2c77..dcbc6e3d9 100644 --- a/ui/index.jsx +++ b/ui/index.jsx @@ -55,7 +55,7 @@ import apiPublishCallViaWeb from 'web/setup/publish'; // If it's caught by componentDidCatch in component/errorBoundary, it will not bubble up to this error reporter if (process.env.NODE_ENV === 'production') { Sentry.init({ - dsn: 'https://1f3c88e2e4b341328a638e138a60fb73@sentry.lbry.tech/2', + dsn: 'https://1f3c88e2e4b341328a638e138a60fb73@sentry.odysee.tv/2', whitelistUrls: [/\/public\/ui.js/], }); } diff --git a/web/src/html.js b/web/src/html.js index b85b8229c..47991cab4 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -219,7 +219,8 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}, referrerQuery) { const videoUrl = generateEmbedUrl(claim.name, claim.claim_id); head += ``; head += ``; - head += ``; + // type text/html since we use embeds + head += ``; if (channel) { head += ``; }