summary refs log tree commit diff stats
path: root/handlers.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-13 01:18:43 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-13 01:18:43 -0400
commit126c00e4329f3e1f0efa210318f022f4248c53e2 (patch)
tree40d8d033981aa340195c1fbda221de7fe6a1c63e /handlers.go
parent994b9ffcbb7a3857d20b97542093e3b13688f2c0 (diff)
downloadgetwtxt-126c00e4329f3e1f0efa210318f022f4248c53e2.tar.gz
more stubbed tests
Diffstat (limited to 'handlers.go')
-rw-r--r--handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go
index a44c9d8..9722788 100644
--- a/handlers.go
+++ b/handlers.go
@@ -98,7 +98,7 @@ func apiTagsHandler(w http.ResponseWriter, r *http.Request) {
 	tags := vars["tags"]
 
 	w.Header().Set("Content-Type", htmlutf8)
-	n, err := w.Write([]byte("api/" + format + "/" + tags))
+	n, err := w.Write([]byte("api/" + format + "/tags/" + tags))
 	if err != nil || n == 0 {
 		log.Printf("Error writing to HTTP stream: %v\n", err)
 	}