We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable CORS? It says Access to image at 'http://localhost:8182/mapserv.exe?map=/map/21.map&mode=map&layers=all&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=ind_provinces&CRS=EPSG%3A3857&STYLES=&WIDTH=1561&HEIGHT=668&BBOX=10816145.25046558%2C-144771.73157212383%2C11770079.363464583%2C263401.9994707174' from origin 'http://localhost' 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:
Quite old but if anybody ends up here, then add add_header 'Access-Control-Allow-Origin' '*'; to nginx configuration.
add_header 'Access-Control-Allow-Origin' '*';
Sorry, something went wrong.
No branches or pull requests
How to enable CORS? It says
Access to image at 'http://localhost:8182/mapserv.exe?map=/map/21.map&mode=map&layers=all&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=ind_provinces&CRS=EPSG%3A3857&STYLES=&WIDTH=1561&HEIGHT=668&BBOX=10816145.25046558%2C-144771.73157212383%2C11770079.363464583%2C263401.9994707174' from origin 'http://localhost' 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: