Skip to content

Prismic provider with netlify #1348

Open

Description

I'm deploying a site to Netlify using Nuxt Image with Prismic as the provider.
In my nuxt config i got:

  image: {
    prismic: {}
  },

Locally everything (run dev/generate) works as intended and src looks like this:

https://images.prismic.io/[reponame]/ZjD8LEMTzAJOCcrE_pdf-remotetechteam.png?auto=format,compress

When i deploy to Netlify the images don't display. On Netlify the src has a relative URL like so:

/.netlify/images?w=947&h=795&url=https:%2F%2Fimages.prismic.io%2F[reponame]%2FZjD8LEMTzAJOCcrE_pdf-remotetechteam.png?auto=format,compress

Am I doing something wrong or is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions