payloadcms / plugin-seo

The official SEO plugin for Payload
97 stars 15 forks source link

Using S3 Adapter, og:image + twitter:image set to SITE_URL/S3_IMAGE_URL #67

Closed ghost closed 11 months ago

ghost commented 11 months ago

I'm using the SEO plugin on next-payload with the S3 adapter, and both the og:image and twitter:image tags are being set to SITE_URL/S3_IMAGE_URL, for example:

http://localhost:3000/https:/bucket.s3.us-east-2.amazonaws.com/meta-image.webp

How can I remove the site URL portion and just have the url to the S3 image?

ghost commented 11 months ago

API view for a page shows the correct S3 url for meta -> image -> url

ghost commented 11 months ago

Was in generateMeta.ts