clean up unfurler meta html template
This commit is contained in:
parent
626b395ab7
commit
7953909f1c
@ -178,8 +178,8 @@ class Server {
|
|||||||
ogTitle = `${this.network ? capitalize(this.network) + ' ' : ''}${matchedRoute.networkMode !== 'mainnet' ? capitalize(matchedRoute.networkMode) + ' ' : ''}${matchedRoute.title}`;
|
ogTitle = `${this.network ? capitalize(this.network) + ' ' : ''}${matchedRoute.networkMode !== 'mainnet' ? capitalize(matchedRoute.networkMode) + ' ' : ''}${matchedRoute.title}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
res.send(`
|
res.send(
|
||||||
<!doctype html>
|
`<!doctype html>
|
||||||
<html lang="en-US" dir="ltr">
|
<html lang="en-US" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
@ -197,9 +197,10 @@ class Server {
|
|||||||
<meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space"/>
|
<meta property="twitter:description" content="Explore the full Bitcoin ecosystem with mempool.space"/>
|
||||||
<meta property="twitter:image:src" content="${ogImageUrl}"/>
|
<meta property="twitter:image:src" content="${ogImageUrl}"/>
|
||||||
<meta property="twitter:domain" content="mempool.space">
|
<meta property="twitter:domain" content="mempool.space">
|
||||||
|
</head>
|
||||||
<body></body>
|
<body></body>
|
||||||
</html>
|
</html>`
|
||||||
`);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user