Skip to content

Commit 6610d86

Browse files
committed
Use downloads.dlang.org for all main download links
1 parent c53b98a commit 6610d86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

download.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ Macros:
247247
SBTN=$(SPANC sig_btn,$(BTN $1,$+)<br>$(BTN $1.sig,sig))
248248
BTN=<a href="$1" class="btn">$+</a>
249249
H3I=<h3 class="download">$0</h3>
250-
DLSITE=https://s3.us-west-2.amazonaws.com/downloads.dlang.org/releases/2022/$0
251-
B_DLSITE=https://s3.us-west-2.amazonaws.com/downloads.dlang.org/pre-releases/2022/$0
250+
DLSITE=https://downloads.dlang.org/releases/2022/$0
251+
B_DLSITE=https://downloads.dlang.org/pre-releases/2022/$0
252252
DOWNLOAD =
253253
$(DIV,
254254
$(DIVC download_image, $2)

js/platform-downloads.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
var html = '';
3131
for (var i = 0; i < files.length; ++i) {
3232
var f = files[i];
33-
var url = 'https://s3.us-west-2.amazonaws.com/downloads.dlang.org/releases/2022/' + f.name + f.suffix;
33+
var url = 'https://downloads.dlang.org/releases/2022/' + f.name + f.suffix;
3434
html += '<a href="' + url + '" class="btn action">Download ' + f.text + '</a>';
3535
}
3636
if (files.length > 1) {

0 commit comments

Comments
 (0)