update iframe type + sentry
This commit is contained in:
parent
2eae20f0bd
commit
a01e4bad78
3 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
[defaults]
|
||||
url = https://sentry.lbry.tech/
|
||||
org = lbry
|
||||
project = lbry-desktop-web
|
||||
url = https://sentry.odysee.tv/
|
||||
org = odysee
|
||||
project = odysee-web
|
||||
|
|
|
@ -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/],
|
||||
});
|
||||
}
|
||||
|
|
|
@ -219,7 +219,8 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}, referrerQuery) {
|
|||
const videoUrl = generateEmbedUrl(claim.name, claim.claim_id);
|
||||
head += `<meta property="og:video" content="${videoUrl}" />`;
|
||||
head += `<meta property="og:video:secure_url" content="${videoUrl}" />`;
|
||||
head += `<meta property="og:video:type" content="${mediaType}" />`;
|
||||
// type text/html since we use embeds
|
||||
head += `<meta property="og:video:type" content="text/html" />`;
|
||||
if (channel) {
|
||||
head += `<meta name="og:video:series" content="${channel}"/>`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue