fix(og): fall back to thumbnail when declared cover file is missing
WeChat link cards were pointing og:image at mindspace-cover paths that never landed on disk; serve-time injection now uses thumbnail.png instead. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5493,6 +5493,7 @@ async function sendPublishFile(req, res, filePath) {
|
||||
html,
|
||||
embed,
|
||||
context,
|
||||
htmlFilePath: filePath,
|
||||
userAgent: req.get('user-agent') || '',
|
||||
preparePublicationHtmlForEmbed,
|
||||
injectOgTags,
|
||||
|
||||
Reference in New Issue
Block a user