tweak lightning unfurl layouts

This commit is contained in:
Mononaut
2022-08-11 17:42:29 +00:00
parent 390419f01b
commit e96ca277a1
5 changed files with 39 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ class Server {
}
if (previewSupported) {
ogImageUrl = `${config.SERVER.HOST}${config.SERVER.HTTP_PORT ? ':' + config.SERVER.HTTP_PORT : ''}/render/${lang || 'en'}/preview${path}`;
ogImageUrl = `${config.SERVER.HOST}/render/${lang || 'en'}/preview${path}`;
ogTitle = `${this.network ? capitalize(this.network) + ' ' : ''}${mode !== 'mainnet' ? capitalize(mode) + ' ' : ''}${ogTitle}`;
} else {
ogTitle = 'The Mempool Open Source Project™';