prometheus/web
Julius Volz 3470ee1fbf
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 14:51:48 +01:00
..
api/v1 API: Make snapshot length always the same size (#8138) 2020-11-01 21:07:38 +01:00
ui Make React UI the default, keep old UI under /classic (#8142) 2020-11-03 14:51:48 +01:00
federate.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
federate_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
web.go Make React UI the default, keep old UI under /classic (#8142) 2020-11-03 14:51:48 +01:00
web_test.go Make React UI the default, keep old UI under /classic (#8142) 2020-11-03 14:51:48 +01:00