I've got a Next.js-based app that uses custom fonts. On the Rendering host the fonts are accessible via the following url:
https://www.myapp.localhost/_next/static/media/lato-latin-400-normal.b7ffde23.woff2
Experience Editor tries to load fonts from CM but the fonts are not found and 404 is returned:
https://cm.localhost/_next/static/media/lato-latin-400-normal.b7ffde23.woff2
In the same time, the webpack.js
file is requested from the Rendering host and successfully received:
https://www.myapp.localhost/_next/static/chunks/webpack.js?ts=1665501553546
How to make Experience Editor request fonts from the Rendering host?