Page MenuHomeSoftware Heritage

D1681.diff
No OneTemporary

D1681.diff

diff --git a/swh/web/settings/production.py b/swh/web/settings/production.py
--- a/swh/web/settings/production.py
+++ b/swh/web/settings/production.py
@@ -8,9 +8,7 @@
"""
from .common import * # noqa
-from .common import (
- MIDDLEWARE, CACHES, ALLOWED_HOSTS, WEBPACK_LOADER
-)
+from .common import MIDDLEWARE, CACHES, WEBPACK_LOADER
from .common import swh_web_config
from .common import REST_FRAMEWORK
@@ -38,12 +36,6 @@
# We're going through seven (or, in that case, 2) proxies thanks to Varnish
REST_FRAMEWORK['NUM_PROXIES'] = 2
-ALLOWED_HOSTS += [
- 'archive.softwareheritage.org',
- 'base.softwareheritage.org',
- 'archive.internal.softwareheritage.org',
-]
-
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 3:21 PM (6 d, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221586

Event Timeline