summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-07 09:09:16 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-07 09:09:16 +0100
commiteb9efed64bcff6fca07b008f6183f84f0560e0de (patch)
tree65d0815249f352a1a3dd9a126803e8318991e1fc /tools
parenta62c60ef870f6d1c26f6c91b93b2ba79bc7c5242 (diff)
downloadNim-eb9efed64bcff6fca07b008f6183f84f0560e0de.tar.gz
downloader tool needs to use https
Diffstat (limited to 'tools')
-rw-r--r--tools/downloader.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/downloader.nim b/tools/downloader.nim
index dc7b636aa..511e37f81 100644
--- a/tools/downloader.nim
+++ b/tools/downloader.nim
@@ -22,7 +22,7 @@ proc download(pkg: string; c: Controls) {.async.} =
 
   client.onProgressChanged = onProgressChanged
   # XXX give a destination filename instead
-  let contents = await client.getContent("http://nim-lang.org/download/" & pkg & ".zip")
+  let contents = await client.getContent("https://nim-lang.org/download/" & pkg & ".zip")
   let z = "dist" / pkg & ".zip"
   # XXX make this async somehow:
   writeFile(z, contents)