mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-15 23:22:30 -04:00
Previously we redirected any non-existent path to the root (or path prefix). The new behavior: With no path prefix: - "" -> "/" - "/biz" -> 404 With path prefix of "/foo/bar": - "" -> "/foo/bar/" - "/" -> "/foo/bar/" - "/foo/bar" -> "/foo/bar/" - "/biz" -> /foo/bar/biz" (anything not starting with the path prefix gets the prefix prepended) - "/foo/bar/biz" -> 404 |
||
|---|---|---|
| .. | ||
| api | ||
| blob | ||
| httputils | ||
| static | ||
| templates | ||
| .gitignore | ||
| alerts.go | ||
| consoles.go | ||
| handler.go | ||
| Makefile | ||
| status.go | ||
| web.go | ||