Skip to content
Discussion options

You must be logged in to vote

This particular case can be solved with an absolute URL:

<meta property="og:image" content="https://foo.bar/assets/my-cool.png"/>

and then add the asset itself as an exported file, with thedynamicPaths configuration option (doc):

dynamicPaths: ['/assets/my-cool.png', ...]

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@floatingpurr
Comment options

@Fil
Comment options

Fil Dec 19, 2025
Collaborator

Answer selected by floatingpurr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants