6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-05 15:12:10 +00:00

Fix unsafe ALLOWED_HOSTS

This commit is contained in:
Régis Behmo 2017-09-19 10:53:38 +02:00
parent e357e763d7
commit dad35370f8
2 changed files with 0 additions and 2 deletions

View File

@ -6,7 +6,6 @@ MEDIA_ROOT = "/openedx/uploads/"
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
ALLOWED_HOSTS = [
'*',
ENV_TOKENS.get('CMS_BASE'),
]

View File

@ -6,7 +6,6 @@ MEDIA_ROOT = "/openedx/data/uploads/"
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
ALLOWED_HOSTS = [
'*',# TODO really?
ENV_TOKENS.get('LMS_BASE'),
FEATURES['PREVIEW_LMS_BASE'],
]