decode uri before building html metadata
This commit is contained in:
parent
e61950f035
commit
ca4676f508
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ async function getClaimFromChainquery(url) {
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.getHtml = async function getHtml(ctx) {
|
module.exports.getHtml = async function getHtml(ctx) {
|
||||||
const path = ctx.path;
|
const path = decodeURIComponent(ctx.path);
|
||||||
|
|
||||||
if (path.length === 0) {
|
if (path.length === 0) {
|
||||||
return insertToHead(html);
|
return insertToHead(html);
|
||||||
|
|
Loading…
Reference in a new issue