ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.95k stars 3.41k forks source link

Fix Mesh.js to work at non-root path #13824

Open adpavlov opened 1 year ago

adpavlov commented 1 year ago

https://github.com/ansible/awx/blob/c0491a7b102f0dedc9ee8db4318854dc43ad7032/awx/ui/src/api/models/Mesh.js#L6

adpavlov commented 1 year ago

somehow I denied to push my branch, but the fix is to remove firs slash

this.baseUrl = 'api/v2/mesh_visualizer/';