mirror of https://github.com/linkerd/linkerd2.git
Problem If you navigate directly to (or do a hard refresh on) a path with more than one segment, e.g. http://localhost:8084/namespaces/conduit, the dashboard js is not served. Pages with two paths have to be accessed by loading the dashboard on a different path and then clicking through. When accessing the dashboard via conduit dashboard we append a path prefix so that we can connect using the k8s proxy. This means that moving the dashboard to serve images off relative paths won't work, because we need to serve images whether the dashboard is loaded from http://localhost:8084/namespaces/conduit or from http://localhost:8084/namespaces. Solution Check whether we're serving the dashboard with the proxy url, and if we are, adjust the url at which we serve the index bundle from. I've also added a very manual override if the conduit logo can't be found at the usual url. |
||
---|---|---|
.. | ||
includes | ||
app.tmpl.html |