decode uri before building html metadata

This commit is contained in:
Sean Yesmunt 2020-01-29 14:45:47 -05:00
parent e61950f035
commit ca4676f508

View file

@ -123,7 +123,7 @@ async function getClaimFromChainquery(url) {
}
module.exports.getHtml = async function getHtml(ctx) {
const path = ctx.path;
const path = decodeURIComponent(ctx.path);
if (path.length === 0) {
return insertToHead(html);