Explorar el Código

Oops, dl.devdocs.io is not HTTPS-enabled yet

Thibaut Courouble hace 7 años
padre
commit
eef70d83d0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/tasks/docs.thor

+ 1 - 1
lib/tasks/docs.thor

@@ -274,7 +274,7 @@ class DocsCLI < Thor
 
   def download_doc(doc)
     target_path = File.join(Docs.store_path, doc.path)
-    open "https://dl.devdocs.io/#{doc.path}.tar.gz" do |file|
+    open "http://dl.devdocs.io/#{doc.path}.tar.gz" do |file|
       FileUtils.mkpath(target_path)
       file.close
       tar = UnixUtils.gunzip(file.path)