Is there a way to disable the CORS policy for raw files?

I use Hubitat Elevation and we can import groovy files with the hub’s admin web interface but with the GitLab EE it isn’t working. The error is:

Access to XMLHttpRequest at 'https:/REMOVED/sgrayban/raspberrypi.monitor/raw/master/Driver/Raspberry-Pi-DHT-Sensor.groovy' from origin 'https://192.168.0.32' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Can this be disabled ?