Properly restrict allowed hosts

This commit is contained in:
Kishi85 2021-12-02 14:24:38 +01:00
parent c708de4a40
commit e4f346182b

View File

@ -16,7 +16,8 @@ ALLOWED_HOSTS = [
#"localhost", # Archiving API from Mailman, keep it.
# "lists.your-domain.org",
# Add here all production URLs you may have.
'*'
'localhost',
'{{ mailman_domain }}'
]
# Mailman API credentials