tinuzz / wp-plugin-trackserver

A WordPress plugin for GPS tracking and publishing
https://wordpress.org/plugins/trackserver/
36 stars 12 forks source link

Load OpenStretmap Tiles with "http|https" #8

Closed fanfarian closed 7 years ago

fanfarian commented 7 years ago

Mixed Content: The page at 'https://...' was loaded over HTTPS, but requested an insecure image 'http://c.tile.openstreetmap.org/...'. This content should also be served over HTTPS.

Possible Fix in trackserver.php Line 81: 'tile_url' => 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',

Omit Protocol 'tile_url' => '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',

fanfarian commented 7 years ago

Nevermind, found the settings in the options page.

tinuzz commented 7 years ago

Well, removing the scheme from the URL might still be a good idea for the default setting. Thanks.