From 910e69ac1b504ba0b9616d84280690c719cfaa3c Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Wed, 28 Aug 2019 16:10:01 -0400 Subject: endpoint for version response --- svc/svc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svc/svc.go') diff --git a/svc/svc.go b/svc/svc.go index b20ac7a..8b5c113 100644 --- a/svc/svc.go +++ b/svc/svc.go @@ -123,7 +123,7 @@ func setEndpointRouting(api *mux.Router) { // Specifying the endpoint with and without query information. // Will return 404 on empty queries otherwise. - api.Path("/{format:(?:plain)}/{endpoint:(?:mentions|users|tweets)}"). + api.Path("/{format:(?:plain)}/{endpoint:(?:mentions|users|tweets|version)}"). Methods("GET", "HEAD"). HandlerFunc(apiEndpointHandler) api.Path("/{format:(?:plain)}/{endpoint:(?:mentions|users|tweets)}"). -- cgit 1.4.1-2-gfad0