update django-cors-headers and switch to inclusive settings name

see: https://github.com/ansible/awx/issues/9177
This commit is contained in:
Ryan Petrello
2021-04-12 15:14:27 -04:00
parent c72cc6486c
commit f137ff7d43
3 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ AWX supports custom CORS headers via the Django CORS Middleware
To define CORS-specific settings, add them to ``/etc/tower/conf.d/cors.py``:
```python
CORS_ORIGIN_WHITELIST = (
CORS_ALLOWED_ORIGINS = (
'hostname.example.com',
'127.0.0.1:9000'
)