diff --git a/server/http.go b/server/http.go index 7d55c32bd..7816f07ba 100644 --- a/server/http.go +++ b/server/http.go @@ -198,7 +198,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},