isawnyu / awld-js

A javascript library for Ancient World Linked Data.
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

Implement SSL Support #14

Open alecpm opened 7 years ago

alecpm commented 7 years ago

This changeset allows urls with non-http protocols to be recognized in the registry. Additionally, it ensures that (where possible) data is fetched via https to avoid browser mixed-content warnings and errors on sites using SSL. For services where valid SSL is not available for fetching data, an insecure flag is available which forces the data request through YQL over https when the visited site is served over https.