diff --git a/docs/cors.md b/docs/cors.md index 19879ce445..187d950e7a 100644 --- a/docs/cors.md +++ b/docs/cors.md @@ -5,9 +5,11 @@ AWX supports custom CORS headers via the Django CORS Middleware To define CORS-specific settings, add them to ``/etc/tower/conf.d/cors.py``: - CORS_ORIGIN_WHITELIST = ( - 'hostname.example.com', - '127.0.0.1:9000' - ) +```python +CORS_ORIGIN_WHITELIST = ( + 'hostname.example.com', + '127.0.0.1:9000' +) +``` ...and restart all AWX services for changes to take effect.