Only allow musiclist as cors origin

This commit is contained in:
Daniel Cortes
2020-06-03 16:02:14 -04:00
parent 26c4d3ab1c
commit 11087c3a89

View File

@@ -8,10 +8,6 @@ CORS_ORIGIN_ALLOW_ALL = False
CORS_ORIGIN_WHITELIST = [
'musiclist.danielcortes.xyz',
]
CORS_ORIGIN_REGEX_WHITELIST = [
'localhost((:\d)\d{0,3})?',
'127.0.0.1((:\d)\d{0,3})?',
]
"""Security"""
SECURE_HSTS_SECONDS = 31536000