mirror of
https://github.com/ansible/awx.git
synced 2026-01-31 17:18:59 -03:30
update django-cors-headers and switch to inclusive settings name
see: https://github.com/ansible/awx/issues/9177
This commit is contained in:
@@ -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'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user