summary refs log tree commit diff stats
path: root/main.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-11 00:19:24 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-11 00:19:24 -0400
commitc8314846252655c7d968194f6e5d74dfc27af7da (patch)
treefd3e05bc4ae0de52ecc050c1fe8824f94e8b95e3 /main.go
parentae0eea0f0b2eaea22d9a87e4036ec8afa26642c3 (diff)
downloadgetwtxt-c8314846252655c7d968194f6e5d74dfc27af7da.tar.gz
reorg
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7d13c32..83344d0 100644
--- a/main.go
+++ b/main.go
@@ -8,7 +8,7 @@ import (
 func main() {
 	log.Printf("getwtxt v0.1\n")
 
-	http.HandleFunc("/api", apiHandler)
+	http.HandleFunc("/api/", apiHandler)
 
 	log.Fatalln(http.ListenAndServe(":8080", nil))
 }