History

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

Thibaut Courouble committed 8 years ago

Commit eef70d81 parent 23c147d1 file · +1 −1Browse files

Unified · Split

lib/tasks/docs.thor+1−1
@@ -274,7 +274,7 @@ class DocsCLI < Thor · 273 unmodified lines
274 274
275 def download_doc(doc)275 def download_doc(doc)
276 target_path = File.join(Docs.store_path, doc.path)276 target_path = File.join(Docs.store_path, doc.path)
277 open "https://dl.devdocs.io/#{doc.path}.tar.gz" do |file|277 open "http://dl.devdocs.io/#{doc.path}.tar.gz" do |file|
278 FileUtils.mkpath(target_path)278 FileUtils.mkpath(target_path)
279 file.close279 file.close
280 tar = UnixUtils.gunzip(file.path)280 tar = UnixUtils.gunzip(file.path)