Ionic header Origin to file:// that produce 403 Forbidden on webserver

Hi Ionic friends,

on device http requests ionic set the header origin to file://, this case produce an error with my backend, because that is a non valid uri. How I can solve it?