This website requires JavaScript.
Explore
Help
Sign In
mudhorn
/
prometheus
Watch
1
Star
0
Fork
You've already forked prometheus
0
mirror of
https://github.com/prometheus/prometheus.git
synced
2025-01-06 03:17:26 -08:00
Code
Issues
Actions
3
Packages
Projects
Releases
Wiki
Activity
9cfc78814e
prometheus
/
web
/
ui
/
react-app
/
src
/
constants
/
constants.tsx
2 lines
34 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Make React UI the default, keep old UI under /classic (#8142) The React app's assets are now served under /assets, while all old custom web assets (including the ones for console templates) are now served from /classic/static. I tested different combinations of --web.external-url and --web.route-prefix with proxies in front, and I couldn't find a problem yet with the routing. Console templates also still work. While migrating old endpoints to /classic, I noticed that /version was being treated like a lot of the old UI pages, with readiness check handler in front of it, etc. I kept it in /version and removed that readiness wrapper, since it doesn't seem to be needed for that endpoint. Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-11-03 05:51:48 -08:00
export
const
API_PATH
=
'api/v1'
;
Reference in a new issue
Copy permalink