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]
|
[defaults]
|
||||||
url = https://sentry.lbry.tech/
|
url = https://sentry.odysee.tv/
|
||||||
org = lbry
|
org = odysee
|
||||||
project = lbry-desktop-web
|
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 it's caught by componentDidCatch in component/errorBoundary, it will not bubble up to this error reporter
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: 'https://1f3c88e2e4b341328a638e138a60fb73@sentry.lbry.tech/2',
|
dsn: 'https://1f3c88e2e4b341328a638e138a60fb73@sentry.odysee.tv/2',
|
||||||
whitelistUrls: [/\/public\/ui.js/],
|
whitelistUrls: [/\/public\/ui.js/],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -219,7 +219,8 @@ function buildClaimOgMetadata(uri, claim, overrideOptions = {}, referrerQuery) {
|
||||||
const videoUrl = generateEmbedUrl(claim.name, claim.claim_id);
|
const videoUrl = generateEmbedUrl(claim.name, claim.claim_id);
|
||||||
head += `<meta property="og:video" content="${videoUrl}" />`;
|
head += `<meta property="og:video" content="${videoUrl}" />`;
|
||||||
head += `<meta property="og:video:secure_url" 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) {
|
if (channel) {
|
||||||
head += `<meta name="og:video:series" content="${channel}"/>`;
|
head += `<meta name="og:video:series" content="${channel}"/>`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue