Twitter cards (#22) won't work properly unless image paths are full paths. I think there's a way to use vite to get the full path. This issue would be closed by creating a website.ts file in lib that contains all the metadata, such as fullUrl that can be referenced elsewhere, like in the Twitter card components.
Twitter cards (#22) won't work properly unless image paths are full paths. I think there's a way to use
vite
to get the full path. This issue would be closed by creating awebsite.ts
file inlib
that contains all the metadata, such asfullUrl
that can be referenced elsewhere, like in the Twitter card components.import.meta.env.VITE_SITE_URL