I'm using the google maps API in a web application which can, to my knowledge, only be loaded with a script tag: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key={your_api_key}&libraries=drawing,geometry"></script>.
Due to a new feature which uses a WebAssembly module which is built with pthread support I will have to adjust the CORS policy for our application / site because SharedArrayBuffer is affected by Meltdown/Spectre:
"Cross-Origin-Embedder-Policy": "require-corp"
"Cross-Origin-Opener-Policy": "same-origin"
This works fine for almost all of the application but since the googleapis CDN does not set the "Access-Control-Allow-Origin" header to "*" it is now being blocked.
Is there a way to enable this somehow or by using another CDN / Endpoint from google?