diff --git a/server/http.go b/server/http.go index c4725820b..ed83e21bc 100644 --- a/server/http.go +++ b/server/http.go @@ -191,7 +191,7 @@ func (s *HTTPd) RegisterSiteHandlers(site site.API) { "smartcostdelete": {"DELETE", "/smartcostlimit", updateSmartCostLimit(site, smartCostLimit)}, "smartfeedin": {"POST", "/smartfeedinprioritylimit/{value:-?[0-9.]+}", updateSmartCostLimit(site, smartFeedInPriorityLimit)}, "smartfeedindelete": {"DELETE", "/smartfeedinprioritylimit", updateSmartCostLimit(site, smartFeedInPriorityLimit)}, - "tariff": {"GET", "/tariff/{tariff:[a-z]+}", tariffHandler(site)}, + "tariff": {"GET", "/tariff/{tariff:[a-z0-9]+}", tariffHandler(site)}, "sessions": {"GET", "/sessions", sessionHandler}, "updatesession": {"PUT", "/session/{id:[0-9]+}", updateSessionHandler}, "deletesession": {"DELETE", "/session/{id:[0-9]+}", deleteSessionHandler},