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

Schemaless asset urls #83

Open
wants to merge 2 commits into
base: zero
Choose a base branch
from
Open

Conversation

tubaman
Copy link

@tubaman tubaman commented Apr 18, 2020

Use schemaless static assets URLs to avoid nasty browser warnings when serving https. Also avoid a github insecure redirect.

tubaman added 2 commits April 18, 2020 16:07
With http:// in asset URLs, browsers show a nasty warning when your site
is https.  Use schemaless URLs for assets so browsers are happy for both
secure and non-secure sites.
With the old github pages URL, https://pinax.github.com would redirect to
http://pinax.github.io which would cause a browser warning about insecure
assets.  So, use the new domain here to avoid that insecure redirect.
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.

2 participants