From 2c812da785caa84d8342b4b3e62ad1d486c65dc9 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Thu, 5 Aug 2021 21:20:29 -0500 Subject: [PATCH] fix embed claim url --- web/src/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/html.js b/web/src/html.js index ccb6d8c91..65cf881b8 100644 --- a/web/src/html.js +++ b/web/src/html.js @@ -325,7 +325,7 @@ async function getHtml(ctx) { } 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); if (claim) {