fix wrong embed og metadata: #6814
This commit is contained in:
parent
b7cbbd0694
commit
dbaa702888
2 changed files with 2 additions and 1 deletions
|
@ -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))
|
- 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))
|
- 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))
|
- 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]
|
## [0.51.1] - [2021-06-26]
|
||||||
|
|
||||||
|
|
|
@ -322,7 +322,7 @@ async function getHtml(ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requestPath.includes(embedPath)) {
|
if (requestPath.includes(embedPath)) {
|
||||||
const claimUri = normalizeClaimUrl(requestPath.replace(embedPath, ''));
|
const claimUri = normalizeClaimUrl(requestPath.replace(embedPath, '').replace('/', '#'));
|
||||||
const claim = await resolveClaimOrRedirect(ctx, claimUri, true);
|
const claim = await resolveClaimOrRedirect(ctx, claimUri, true);
|
||||||
|
|
||||||
if (claim) {
|
if (claim) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue