Skip to content

Commit

Permalink
Enable serving framed kepler.gl-jupyter over https
Browse files Browse the repository at this point in the history
Remove HTTP protocol specifier to select the most appropriate protocol

This is needed when kepler.gl is served on a website served via HTTPS. This is needed since chrome blocks loading of insecure resources when the page is served via HTTPS (Mixed content).

Signed-off-by: Peder Voldnes Langdal <peder.github@langd.al>
  • Loading branch information
LangdalP committed May 12, 2022
1 parent ca45cef commit bdf2048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/kepler.gl-jupyter/js/lib/keplergl/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ function App() {
<title>Kepler.gl Jupyter</title>
<link
rel="stylesheet"
href="http://d1a3f4spazzrp4.cloudfront.net/kepler.gl/uber-fonts/4.0.0/superfine.css"
href="//d1a3f4spazzrp4.cloudfront.net/kepler.gl/uber-fonts/4.0.0/superfine.css"
/>
<link
rel="stylesheet"
href="http://api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css"
href="//api.tiles.mapbox.com/mapbox-gl-js/v1.1.1/mapbox-gl.css"
/>
<style type="text/css">
{`font-family: ff-clan-web-pro, 'Helvetica Neue', Helvetica, sans-serif;
Expand Down

0 comments on commit bdf2048

Please sign in to comment.