[Plugin: Event Organiser] "This page has insecure content" – Loading Google Maps
-
Would it be possible to update the javascript file to load Google Maps with the same protocol as the page whether that be HTTPS or HTTP? I’ve got a site that uses HTTPS when you’re logged in and HTTP when you’re not. When I am logged in I get a “This page has insecure content” in Chrome.
In the frontend.js could the Google Maps js file be loaded with “//” instead of “http://”. That way it will load the appropriate version (i.e. http or https) for the site:
script.src="//maps.googleapis.com/maps/api/js?sensor=false&callback=eo_load_map";
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Event Organiser] "This page has insecure content" – Loading Google Maps’ is closed to new replies.