This is my current script-src content security policy for my app:
script-src 'self' 'unsafe-inline' https://maps.googleapis.com https://maps.gstatic.com;
trying to load the following external js code:
https://maps.googleapis.com/maps/api/js?key=${GOOGLE_API_KEY}&libraries=places&language=he
using unsafe-inline it works, but probably unsafe, so I want to remove it in my code, but then it doesn't allow the script to run. tried to add to script-src a value such as https://maps.googleapis.com/* but it still didn't work. how would one allow scripts from a specific domain?