Custom region map cors error

When I monitored the network tab, I could see 200 response for fetching the geojson file, but there is a warning popup saying there is cors error