You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your API urls have http as their protocol. This is fine when testing as localhost is also insecured http. However when you serve your content from https (like GitHub Pages) the browser will block it.
This makes pictures not to appear sometimes.
It affects you urls:
var kanyeGiphyCall = "http://api.giphy.com/v1/gifs/search?api_key=yulIkLnLqFVIDmUCNqd8nYSbprM6tvN0&q=kanye";
var trumpGiphyCall = "http://api.giphy.com/v1/gifs/search?api_key=yulIkLnLqFVIDmUCNqd8nYSbprM6tvN0&q=trump";
If you just added s to http that should be enough (I checked that giphy can serve https content)
If you are curious about what is going on, please read:
Your API urls have
http
as their protocol. This is fine when testing as localhost is also insecured http. However when you serve your content fromhttps
(like GitHub Pages) the browser will block it.This makes pictures not to appear sometimes.
It affects you urls:
If you just added
s
tohttp
that should be enough (I checked that giphy can serve https content)If you are curious about what is going on, please read:
https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content
The text was updated successfully, but these errors were encountered: