Allow CORS: Access-Control-Allow-Origin #766
Replies: 9 comments 1 reply
-
set crossOrigin: 'anonymous' and in If this fix do not work. try to define your CORS in your webserver. |
Beta Was this translation helpful? Give feedback.
-
this is not specific to igo2-lib. it's a property from openlayers https://openlayers.org/en/latest/apidoc/module-ol_source_ImageWMS-ImageWMS.html |
Beta Was this translation helpful? Give feedback.
-
@felipe-mendieta Is it working properly now with this fix? |
Beta Was this translation helpful? Give feedback.
-
You must setup this option into the source options... The next step is to enable cors request into geoserver. |
Beta Was this translation helpful? Give feedback.
-
@felipe-mendieta Ive tried on codesandbox. I get 1 main issue. Can you enable https over your server? |
Beta Was this translation helpful? Give feedback.
-
Once your server enabled with https, we could check if another web app can handle your server. |
Beta Was this translation helpful? Give feedback.
-
If you want a quick reply, we can talk into our gitter channel. |
Beta Was this translation helpful? Give feedback.
-
@felipe-mendieta Any updates? |
Beta Was this translation helpful? Give feedback.
-
when I modified the context file and added a wms service, it only works when I add the disable cors extension( CORS UNBLOCK) in my browser.
how do I avoid the cors error?
Beta Was this translation helpful? Give feedback.
All reactions