Skip to content
New issue

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

CORS with local Nominatim #289

Open
efrenba opened this issue Sep 10, 2020 · 0 comments
Open

CORS with local Nominatim #289

efrenba opened this issue Sep 10, 2020 · 0 comments
Labels

Comments

@efrenba
Copy link

efrenba commented Sep 10, 2020

Hello,

I'm using Nominatim Geocoder, Chrome works well with the online nominatim.openstreetmap.org but dont with mi local nominatim.mydom.com because of CORS polices. The calls are made from odoo.mydom.com.

Temporaly I solved it commented out inside util.js these 2 lines:
73: xmlHttp.responseType = 'json';
74: xmlHttp.setRequestHeader('Accept', 'application/json');

Is there another solution for it?
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants