Use non-internal strapi URL for media files

All requests to the strapi api that includes media files have the sources returned with absolute url, using the internal strapi URL, i.e:

I have already added a custom domain in the strapi cloud, set it as default, and it works great for accessing the admin page. Serving images on the website from the internal Strapi URL looks incredibly suspicious though, and I would very much like to serve them from my custom Strapi domain instead. I can’t find any information on how to do this, though.

Is it possible?

This topic has been created from a Discord post (1227505399025111092) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

1 Like