-
Notifications
You must be signed in to change notification settings - Fork 1
Fixed link preview #269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed link preview #269
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,8 +15,7 @@ const CRAWLER_USER_AGENTS = [ | |||||
|
|
||||||
| const API_BASE = 'https://api.bedbase.org/v1'; | ||||||
| const SITE_URL = 'https://bedbase.org'; | ||||||
| // Current OG image is an SVG; use a 1200x630 PNG here if one is added for broader social preview compatibility | ||||||
| const OG_IMAGE = `${SITE_URL}/bedbase_web.svg`; | ||||||
| const OG_IMAGE = `${SITE_URL}/bedbase_web_preview.png`; | ||||||
|
||||||
| const OG_IMAGE = `${SITE_URL}/bedbase_web_preview.png`; | |
| const OG_IMAGE = `${SITE_URL}/bedbase_web.svg`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
twitter:cardis still set tosummaryeven though an explicit preview image is provided. This is inconsistent with the worker/SEO component (which usesummary_large_image) and may prevent the large image from rendering in Twitter/X previews for the homepage. Consider switching tosummary_large_imagehere as well.