Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9345469
D1681.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
773 B
Subscribers
None
D1681.diff
View Options
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
Details
Attached
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
Attached To
D1681: settings/production: remove hard written allowed hosts
Event Timeline
Log In to Comment