]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/robohash/robohash.factor
Switch to https urls
[factor.git] / extra / robohash / robohash.factor
index 11e436163f82b7aab72efcf55e825cc970935f6c..208945dd37fe41e66b82582633c07207615030d6 100644 (file)
@@ -1,5 +1,5 @@
 ! Copyright (C) 2011 John Benediktsson.
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 
 USING: images.http kernel sequences urls urls.encoding ;
 
@@ -8,7 +8,7 @@ IN: robohash
 <PRIVATE
 
 : robohash-url ( str -- url )
-    url-encode "http://robohash.org/" prepend >url ;
+    url-encode "https://robohash.org/" prepend >url ;
 
 : (robohash) ( str type -- image )
     [ robohash-url ] [ "set" set-query-param ] bi*