Having both trailingSlash: true
and basePath
defined in next.config.js
.
Images from external domain cannot be displayed (even if the domain has been setup)
See vercel/next.js#36681 (comment)
images: {
path: "/<base-path>/_next/image",
},