diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-11 00:19:24 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-11 00:19:24 -0400 |
commit | c8314846252655c7d968194f6e5d74dfc27af7da (patch) | |
tree | fd3e05bc4ae0de52ecc050c1fe8824f94e8b95e3 /main.go | |
parent | ae0eea0f0b2eaea22d9a87e4036ec8afa26642c3 (diff) | |
download | getwtxt-c8314846252655c7d968194f6e5d74dfc27af7da.tar.gz |
reorg
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
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)) } |