Skip to content

fbarrailla/next-image-issue

Repository files navigation

Next Image Issue

See vercel/next.js#36681

How to reproduce?

Having both trailingSlash: true and basePath defined in next.config.js.

What's wrong?

Images from external domain cannot be displayed (even if the domain has been setup)

Workaround

See vercel/next.js#36681 (comment)

 images: {
    path: "/<base-path>/_next/image",
  },