Commit Graph

2 Commits (d2279e8afaf3649a8433a7ccae37b692af53d05c)

Author SHA1 Message Date
Pavel Zavora 9c789f50e0 chore(server): repair Test_MountableRouter_PrefixesPuts to use http 2020-11-26 12:00:17 +01:00
Tim Raymond 84cc43cc77 Implement a MountableRouter
The httprouter used in Chronograf did not support prefixing every route
with some basepath. This caused problems for those using the --basepath
parameter in combination with a load balancer that did not strip the
basepath prefix from requests that it forwarded onto Chronograf.

To support this, MountableRouter prefixes all routes at definition time
with the supplied prefix.
2017-04-03 17:06:21 -04:00