fix wrong embed og metadata: #6814

This commit is contained in:
Baltazar Gomez 2021-08-07 13:06:23 -05:00 committed by infinite-persistence
parent b7cbbd0694
commit dbaa702888
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix markdown line breaking mid word _community pr!_ ([#6805](https://github.com/lbryio/lbry-desktop/pull/6805))
- Added \ and = to reserved symbol warning _community pr!_ ([#6733](https://github.com/lbryio/lbry-desktop/pull/6733))
- Don't break words in chat + fix text overflow past 3 dot menu _community pr!_ ([#6602](https://github.com/lbryio/lbry-desktop/pull/6602))
- Fix embed shows wrong OG metadata _community pr!_ ([#6815](https://github.com/lbryio/lbry-desktop/pull/6815))
## [0.51.1] - [2021-06-26]

View file

@ -322,7 +322,7 @@ async function getHtml(ctx) {
}
if (requestPath.includes(embedPath)) {
const claimUri = normalizeClaimUrl(requestPath.replace(embedPath, ''));
const claimUri = normalizeClaimUrl(requestPath.replace(embedPath, '').replace('/', '#'));
const claim = await resolveClaimOrRedirect(ctx, claimUri, true);
if (claim) {