summary refs log tree commit diff stats
path: root/svc/svc.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-28 16:10:01 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-28 16:10:01 -0400
commit910e69ac1b504ba0b9616d84280690c719cfaa3c (patch)
treeafd08e17d12b4638d1bd8dad6bfc580bbbe4ed54 /svc/svc.go
parent0862bfa13c77484461eb96b2d94180d835ef2805 (diff)
downloadgetwtxt-910e69ac1b504ba0b9616d84280690c719cfaa3c.tar.gz
endpoint for version response v0.4.5
Diffstat (limited to 'svc/svc.go')
-rw-r--r--svc/svc.go2
1 files changed, 1 insertions, 1 deletions
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)}").