diff options
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)) } |