fix embed claim url

This commit is contained in:
btzr-io 2021-08-05 21:20:29 -05:00 committed by infinite-persistence
parent 722f933052
commit 2c812da785
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

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