Well, I tried this method :
<?php header(“Access-Control-Allow-Origin: *”); ?>
and also
Header Add Access-Control-Allow-Origin: *
and it made my site crash.
I guess it’s not possible on my end to add the CORS header. Probably a limitation of my host.