Skip to content

Commit 530dbce

Browse files
pinguin999AurelioDeRosa
authored andcommitted
getJSON: Fix Example by using https
Closes jquerygh-1072 Error was: Mixed Content: The page at 'https://api.jquery.com/jquery.getjson/' was loaded over HTTPS, but requested an insecure script 'http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=jQuery110203890736409927371_1513688901634&tags=mount+rainier&tagmode=any&format=json&_=1513688901635'. This request has been blocked; the content must be served over HTTPS.
1 parent 9d03b37 commit 530dbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.getJSON.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jqxhr.complete(function() {
9595
<desc>Loads the four most recent pictures of Mount Rainier from the Flickr JSONP API.</desc>
9696
<code><![CDATA[
9797
(function() {
98-
var flickerAPI = "http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?";
98+
var flickerAPI = "https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?";
9999
$.getJSON( flickerAPI, {
100100
tags: "mount rainier",
101101
tagmode: "any",

0 commit comments

Comments
 (0)