From 772731e73e814f2b924f2d96d09934ac1daf43e2 Mon Sep 17 00:00:00 2001 From: James Moffet Date: Thu, 21 Jul 2022 18:54:21 -0700 Subject: [PATCH] stop using UK cdn for images --- app/config.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/config.py b/app/config.py index 9b9bae42b..eccafd7d5 100644 --- a/app/config.py +++ b/app/config.py @@ -144,8 +144,8 @@ class Test(Development): ANTIVIRUS_API_KEY = 'test-antivirus-secret' ANTIVIRUS_ENABLED = True - ASSET_DOMAIN = 'static.example.com' - ASSET_PATH = 'https://static.example.com/' + # ASSET_DOMAIN = 'static.example.com' + # ASSET_PATH = 'https://static.example.com/' class Preview(Config): @@ -198,8 +198,10 @@ class Live(Config): PRECOMPILED_ORIGINALS_BACKUP_LETTERS = 'prototype-letters-precompiled-originals-backup' NOTIFY_ENVIRONMENT = 'live' CHECK_PROXY_HEADER = False - ASSET_DOMAIN = 'static.notifications.service.gov.uk' - ASSET_PATH = 'https://static.notifications.service.gov.uk/' + # ASSET_DOMAIN = 'static.notifications.service.gov.uk' + # ASSET_PATH = 'https://static.notifications.service.gov.uk/' + ASSET_DOMAIN = '' # TODO use a CDN + ASSET_PATH = '/static/' # TODO use a CDN REDIS_URL = os.environ.get('REDIS_URL') REDIS_ENABLED = True