]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: API docs UI does not work with Angular dev server
authorVolker Theile <vtheile@suse.com>
Thu, 18 Nov 2021 15:50:26 +0000 (16:50 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 18 Nov 2021 15:50:26 +0000 (16:50 +0100)
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>
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"
   }
 }