Skip to content

Enable serving framed kepler.gl-jupyter over https#1820

Open
LangdalP wants to merge 1 commit into
keplergl:masterfrom
LangdalP:patch-1
Open

Enable serving framed kepler.gl-jupyter over https#1820
LangdalP wants to merge 1 commit into
keplergl:masterfrom
LangdalP:patch-1

Conversation

@LangdalP
Copy link
Copy Markdown

@LangdalP LangdalP commented May 12, 2022

Remove HTTP protocol specifier for stylesheets used in bindings/kepler.gl-jupyter/js/lib/keplergl/components/app.js to select the most appropriate protocol.

This is needed when kepler.gl is served on a website served via HTTPS. Today, this fails since chrome blocks loading of insecure resources when the page is served via HTTPS (Mixed content). However, Firefox and Safari are not as strict as chrome, so this fix is not needed for those browsers.

See image below to see what happened before this fix, included the error messages in the dev console at the bottom.

image

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>
<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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just change this to https:// instead?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is holding up this PR? I have an https jupyterhub environment that would benefit from this fix.

@igorDykhta igorDykhta added to check Old PRs with conflicts that should potentially be merged into Kepler.gl jupyter keplergl for Jupyter labels Feb 25, 2025
@igorDykhta igorDykhta removed the to check Old PRs with conflicts that should potentially be merged into Kepler.gl label May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jupyter keplergl for Jupyter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants