]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: API docs UI does not work with Angular dev server 51245/head
authorVolker Theile <vtheile@suse.com>
Thu, 18 Nov 2021 15:50:26 +0000 (16:50 +0100)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Thu, 27 Apr 2023 08:49:10 +0000 (15:49 +0700)
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 <vtheile@suse.com>
(cherry picked from commit d1886a35eb052242250baa646dba81c52f0b029c)

src/pybind/mgr/dashboard/frontend/proxy.conf.json.sample

index 6a71a26bbaf6d71ba43bdc4b81d04a9367158b07..ad2ef806975f960fee027ca5e27ac962a40fa933 100644 (file)
@@ -8,5 +8,10 @@
     "target": "https://localhost:8443",
     "secure": false,
     "logLevel": "debug"
+  },
+  "/docs/": {
+    "target": "https://localhost:8443",
+    "secure": false,
+    "logLevel": "debug"
   }
 }