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

pull/926/head
Thibaut Courouble 6 years ago
parent 23c147dde7
commit eef70d83d0

@ -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)

Loading…
Cancel
Save