You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported by @jloomisVCE the are some CORS issues between regions and spatial, with the generated inventories:
regions.vtatlasoflife.org does not support map-clicks due to CORS errors.
In the js console:
/#rt=Vermont%20Counties:1 Access to XMLHttpRequest at 'https://spatial.vtatlasoflife.org/geoserver/ALA/wms?SERVICE=WMS&VERSION=1.1…3817.17417969%2C5175704.05852539%2C-7369752.5181176765%2C5760294.450769044' from origin 'https://regions.vtatlasoflife.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The text was updated successfully, but these errors were encountered:
I think spatial /geoserver just needs to set ACAO * header.
To test, I just un-commented this line in /etc/nginx/sites-enabled/spatial.vtatlasoflife.org.conf.conf
location /geoserver {
...
include /etc/nginx/conf.d/ala_cors_geoserver;
}
This fixes the CORS error (for this specific issue). I recall we had some problem with CORS includes, which led to commenting these. I also forget why the vhost fragments don't work, but in those under /etc/nginx/sites-available, the CORS includes are active.
As reported by @jloomisVCE the are some CORS issues between regions and spatial, with the generated inventories:
In the js console:
The text was updated successfully, but these errors were encountered: