Evening all
PSU 4.1.0 running in a docker container on my linux VM, here on 192.168.1.94:5000 for testing, all great with powershell calling APIs etc. I’ve a static website in Azure storage blob, a simple index.html, and have allowed the name (as matches Origin when I capture the web traffic in dev tools) to CorsHosts as below:
root@2d0c2c124d77:/home/Universal# grep -i cors appsettings*
appsettings.desktop.json: "CorsHosts": "https://mystorageaccount.z33.web.core.windows.net",
appsettings.Development.json: "CorsHosts": "https://mystorageaccount.z33.web.core.windows.net",
appsettings.json: "CorsHosts": "https://mystorageaccount.z33.web.core.windows.net",
But… still a CORS error. What am I doing wrong here?
Also, I presume I should only be using appsettings.json rather than all 3? Also tried a wildcard, but no joy. Nothing top secret here that I need to be concerned about protecting…
Thanks!