Ionic 5 img tag no referer header on iOS

Hello,

I have upgraded my app to Ionic 5 and had this line of code:

<img [src]="avatarUrl"/>

In the old version of my app with Ionic 3 I could see that the referer headers was set:

Referer: http://localhost:8080/

But now it is not there anymore. Which causes my call to fail because the backend expects this.
Am I doing something wrong or am I missing something?

Thanks in advance