From d1886a35eb052242250baa646dba81c52f0b029c Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Thu, 18 Nov 2021 16:50:26 +0100 Subject: [PATCH] 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 --- src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample | 5 +++++ 1 file changed, 5 insertions(+) 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" } } -- 2.39.5