[tor-commits] [tpo/develop] Add specific prefix to download links

antonela at torproject.org antonela at torproject.org
Wed Dec 11 14:50:12 UTC 2019


commit 05982bf8028d29069c000adb4ca0d1b29bee6b5c
Author: Antonela <hola at antonela.me>
Date:   Wed Dec 11 11:49:39 2019 -0300

    Add specific prefix to download links
    
    so the download actually works. Maybe we want to revert this change when we go public.
---
 templates/hero-download.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/hero-download.html b/templates/hero-download.html
index 8628627..4a1c915 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -10,7 +10,7 @@
       <div class="oval-2 bg-darker">
         {% set alt_l = alt %}
         {% set t = bag('versions', 'torbrowser-stable') %}
-        {% set download_prefix = '/dist/torbrowser/' + t.version + '/' %}
+        {% set download_prefix = 'https://torproject.org/dist/torbrowser/' + t.version + '/' %}
         {% if alt_l == 'en' %}
           {% set alt_l = 'en-US' %}
         {% elif alt_l == 'es' %}



More information about the tor-commits mailing list