Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
43b6ed87 by Cédric Krier at 2023-01-16T15:07:08+01:00
Use direct downloads.tryton.org instead of CDN
- - - - -


2 changed files:

- modules/country/scripts/import_postal_codes.py
- tryton/tryton/config.py


Changes:

=====================================
modules/country/scripts/import_postal_codes.py
=====================================
@@ -45,7 +45,7 @@
 
 def fetch(code):
     sys.stderr.write('Fetching')
-    url = 'https://downloads-cdn.tryton.org/geonames/%s.zip' % code
+    url = 'https://downloads.tryton.org/geonames/%s.zip' % code
     try:
         responce = urlopen(url)
     except HTTPError as e:


=====================================
tryton/tryton/config.py
=====================================
@@ -67,7 +67,7 @@
             'image.cache_size': 1024,
             'doc.url': 'https://docs.tryton.org/en/%(version)s',
             'bug.url': 'https://bugs.tryton.org/',
-            'download.url': 'https://downloads-cdn.tryton.org/',
+            'download.url': 'https://downloads.tryton.org/',
             'download.frequency': 60 * 60 * 8,
             'menu.pane': 320,
         }



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/43b6ed87955da241a191c89db5a5e38327fde756

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/43b6ed87955da241a191c89db5a5e38327fde756
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to