Update dl.devdocs.io URL to HTTPS

pull/916/head
Thibaut Courouble 6 years ago
parent e8d52c9cfd
commit db523e2a85

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

Loading…
Cancel
Save