From: Volker Theile Date: Thu, 18 Nov 2021 15:50:26 +0000 (+0100) Subject: mgr/dashboard: API docs UI does not work with Angular dev server X-Git-Tag: v16.2.14~118^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=40bc11f46f8f1040ddf5d775e51e3626e3666678;p=ceph.git mgr/dashboard: API docs UI does not work with Angular dev server To get the API docs UI working with the Angular dev server, the '/docs' URL segment must be added to proxy.conf.json[.sample]. Fixes: https://tracker.ceph.com/issues/53317 Signed-off-by: Volker Theile (cherry picked from commit d1886a35eb052242250baa646dba81c52f0b029c) --- diff --git a/src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample b/src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample index 6a71a26bbaf..ad2ef806975 100644 --- a/src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample +++ b/src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample @@ -8,5 +8,10 @@ "target": "https://localhost:8443", "secure": false, "logLevel": "debug" + }, + "/docs/": { + "target": "https://localhost:8443", + "secure": false, + "logLevel": "debug" } }