0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-03-16 22:33:29 +00:00

Fix CORS origin defaults for quick start ()

This commit is contained in:
Nick Satterly 2017-11-15 01:18:07 +00:00 committed by GitHub
parent c23e61d24c
commit 03d03a622b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,10 @@ API_KEY_EXPIRE_DAYS = 365 # 1 year
CORS_ALLOW_HEADERS = ['Content-Type', 'Authorization', 'Access-Control-Allow-Origin']
CORS_ORIGINS = [
'http://try.alerta.io',
'http://explorer.alerta.io',
'http://localhost'
# 'http://try.alerta.io',
# 'http://explorer.alerta.io',
'http://localhost',
'http://localhost:8000'
]
CORS_SUPPORTS_CREDENTIALS = AUTH_REQUIRED