소스 검색

Update dl.devdocs.io URL to HTTPS

Thibaut Courouble 7 년 전
부모
커밋
db523e2a85
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/tasks/docs.thor

+ 1 - 1
lib/tasks/docs.thor

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