prometheus/web
James Ranson 1cffda5de7
react updates for pathPrefix (#7979)
* dynamically determine path prefix

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* minor changes per PR review

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* use Context for apiPath and pathPrefix

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* remove unhandled "/version" path

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* only process index once instead of on every req

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* remove unneeded tag fragment

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* switch api path to const

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* revert

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* update tests

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* linter updates

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* simplify

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>

* updates per peer review

Signed-off-by: James Ranson <james_ranson@cable.comcast.com>
2020-10-22 17:22:32 +02:00
..
api/v1 Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
ui react updates for pathPrefix (#7979) 2020-10-22 17:22:32 +02:00
federate.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
federate_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
web.go react updates for pathPrefix (#7979) 2020-10-22 17:22:32 +02:00
web_test.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00