Skip to content

Image URLs in social previews are not prefixed with backend URL #37

Open
@soudis

Description

@soudis

In the SocialPreview (FacebookPreview and TwitterPreview) the image urls are not prefixed with the backend URL.

In our setup we have the fronted at a specific URL (example.com) and the backend / strapi sitting at a subpath (example.com/strapi). Other strapi plugins or the content manager can handle this because they use the prefixFileUrlWithBackendUrl helper function when dealing with image urls. The seo plugin however just uses the plain url and therefore the images are not shown in the preview.

I created a (not yet tested) PR: #36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions