Skip to content

Commit bb11f67

Browse files
committed
Correct remaining urls so we always use https://www.erlang.org/download/
1 parent 03d521e commit bb11f67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/downloads-sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
{% endfor %}
4141
</ul>
4242
<small>Older releases and a file containing MD5 checksums for all files in the
43-
<a href="https://erlang.org/download">download directory</a>,
43+
<a href="/download/">download directory</a>,
4444
also reachable through
4545
<code>rsync rsync.erlang.org::erlang-download</code></small>
4646
</nav>

_scripts/src/create-releases.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ parse_erlang_org_downloads() ->
6161

6262
download_erlang_org_downloads() ->
6363
{ok,{{_,200,_},Hdrs,Body}} = httpc:request(
64-
get,{"https://erlang.org/download",[]},
65-
ssl_opts("https://erlang.org/download"),[]),
64+
get,{"https://www.erlang.org/download/",[]},
65+
ssl_opts("https://www.erlang.org/download/"),[]),
6666
case lists:member({"content-encoding","gzip"}, Hdrs) of
6767
true ->
6868
zlib:gunzip(Body);

0 commit comments

Comments
 (0)