For Cors you can see my code here for what I did to address this:
https://github.com/jerriep/remote-map/blob/master/api/RemoteMapApi/Startup.cs#L57-L64
and
https://github.com/jerriep/remote-map/blob/master/api/RemoteMapApi/Startup.cs#L85
For Cors you can see my code here for what I did to address this:
https://github.com/jerriep/remote-map/blob/master/api/RemoteMapApi/Startup.cs#L57-L64
and
https://github.com/jerriep/remote-map/blob/master/api/RemoteMapApi/Startup.cs#L85