-
Notifications
You must be signed in to change notification settings - Fork 16
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
Библиотеку нельзя использовать под https #9
Comments
Можно, целых два варианта есть
|
Проблему решил... var settings = { И еще, там есть метод setHost(), а вот метод setGeocodeHost() отсутствует, если уж совсем придираться... |
Библиотеку нельзя использовать на сайте с "https".
Пожалуйста, сделайте такую возможность!
Под капотом библиотеки выполняется запрос:
http://data.esosedi.org/geocode/v1?point=57.153033,65.534328&lng=ru
А вот такое не пашет:
https://data.esosedi.org/geocode/v1?point=57.153033,65.534328&lng=ru
Отсюда получаем проблемы... И классическую ошибку браузера:
Mixed Content: бла-бла-бла was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://data.esosedi.org/geocode/v1?point=57.153033,65.534328&lng=ru'. This request has been blocked; the content must be served over HTTPS.
The text was updated successfully, but these errors were encountered: