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)
 	}
id='n100' href='#n100'>100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136