mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 07:54:03 +00:00
Fix unsafe ALLOWED_HOSTS
This commit is contained in:
parent
e357e763d7
commit
dad35370f8
@ -6,7 +6,6 @@ MEDIA_ROOT = "/openedx/uploads/"
|
|||||||
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
|
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
'*',
|
|
||||||
ENV_TOKENS.get('CMS_BASE'),
|
ENV_TOKENS.get('CMS_BASE'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@ MEDIA_ROOT = "/openedx/data/uploads/"
|
|||||||
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
|
FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
'*',# TODO really?
|
|
||||||
ENV_TOKENS.get('LMS_BASE'),
|
ENV_TOKENS.get('LMS_BASE'),
|
||||||
FEATURES['PREVIEW_LMS_BASE'],
|
FEATURES['PREVIEW_LMS_BASE'],
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user