make archiver routes match also "/archiver" instead of "/archiver/" only

This commit is contained in:
Willy Kloucek
2021-09-22 13:51:58 +02:00
parent c1dd0ea66e
commit 889b30cd18

View File

@@ -291,7 +291,7 @@ func defaultPolicies() []config.Policy {
Backend: "http://localhost:9130",
},
{
Endpoint: "/archiver/",
Endpoint: "/archiver",
Backend: "http://localhost:9140",
},
{
@@ -384,7 +384,7 @@ func defaultPolicies() []config.Policy {
Backend: "http://localhost:9130",
},
{
Endpoint: "/archiver/",
Endpoint: "/archiver",
Backend: "http://localhost:9140",
},
{