Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Mixed Content Errors #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vab
Copy link

@vab vab commented Jan 9, 2023

What does this PR do?
This code clears mixed content errors during the load of the Simile Timeline API.

Helpful background context
If a developer was running off an https served website and using a modern browser (such as Chromium or Brave), hard coded http URLs were causing CSS related rendering problems and a failure to load the Timeline library. These errors occurred because the browser was automatically blocking mixed content loading. By changing loading statements to protocol agnostic URLs the errors can be avoiding while still allowing Timeline to run over either http and https.

This PR has the minimum changes required to correct the errors and allow Timeline to load and render properly. I will submit an additional PR, with many more code changes, that updates the documentation and addresses other issues in the code with mixed content.

What are the relevant tickets?
https://groups.google.com/g/simile-widgets/c/8MoBsyyY5v4

Includes new or updated dependencies?
NO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant