mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Add OPTIONAL_UI_URL_PREFIX (#15506)
# Add a postfix to the UI URL patterns for UI URL generated by the API # example if set to '' UI URL generated by the API for jobs would be $TOWER_URL/jobs # example if set to 'execution' UI URL generated by the API for jobs would be $TOWER_URL/execution/jobs
This commit is contained in:
@@ -1157,6 +1157,11 @@ include(os.path.join(os.path.dirname(dynamic_config.__file__), 'dynamic_settings
|
||||
# example if set to 'controller' API pattern will be /api AND /api/controller
|
||||
OPTIONAL_API_URLPATTERN_PREFIX = ''
|
||||
|
||||
# Add a postfix to the UI URL patterns for UI URL generated by the API
|
||||
# example if set to '' UI URL generated by the API for jobs would be $TOWER_URL/jobs
|
||||
# example if set to 'execution' UI URL generated by the API for jobs would be $TOWER_URL/execution/jobs
|
||||
OPTIONAL_UI_URL_PREFIX = ''
|
||||
|
||||
# Use AWX base view, to give 401 on unauthenticated requests
|
||||
ANSIBLE_BASE_CUSTOM_VIEW_PARENT = 'awx.api.generics.APIView'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user