-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
JS not loading on some browsers #1718
Comments
Yes, I can confirm and luckily it happened when I tried to post a new blog! so I thought it was a mistake but the original website was broken |
This happens due to certificate expiration for https://cdn.jsdelivr.net/ that is used for JS hosting.
So, this issue should be reported to and fixed by https://www.jsdelivr.com/. However, it's a good case for us to consider hosting dependencies by ourselves. |
Interesting, I guess I had it cached locally and that's why it fails only in incognito. I was wondering indeed if there was a way to host dependencies ourselves, but that's a feature request, so I'll close this issue. Thx @kungfux :) |
Chirpy already supports self-hosting: jekyll-theme-chirpy/_config.yml Lines 128 to 134 in dcb0add
... and check the Manually Build and Deploy section from chirpy's getting start. |
Checklist
How did you create the site?
Generated from
chirpy-starter
Describe the bug
When navigating to a page in some browsers (eg: Default Android Browser, Microsoft Edge, or even Chrome in Incognito mode), bootstrap and other JS libraries don't load. You can even see it with Chirpy's demo page in Incognito Mode inside Chrome:
Steps To Reproduce
Expected Behavior
JS should load an styles shouldn't look off on any of these browsers
Environment
Anything else?
maybe we are missing cross-origin and integrity attributes in the <link tag?
The text was updated successfully, but these errors were encountered: