Merge pull request #37361 from mitodl/marslan/6604-configurable-allowed-hosts

fix: make ALLOWED_HOSTS configurable through YAML
This commit is contained in:
Feanil Patel
2025-10-06 10:35:38 -04:00
committed by GitHub
3 changed files with 4 additions and 11 deletions

View File

@@ -2245,6 +2245,10 @@ AI_TRANSLATIONS_API_URL = 'http://localhost:18760/api/v1'
def should_send_learning_badge_events(settings):
return settings.BADGES_ENABLED
############################## ALLOWED_HOSTS ###############################
ALLOWED_HOSTS = ['*']
############################## Miscellaneous ###############################
COURSE_MODE_DEFAULTS = {