diff options
Diffstat (limited to 'handlers.go')
-rw-r--r-- | handlers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers.go b/handlers.go index 9722788..01049b0 100644 --- a/handlers.go +++ b/handlers.go @@ -11,9 +11,9 @@ import ( ) // handles "/" -func indexHandler(w http.ResponseWriter, r *http.Request) { +func indexHandler(w http.ResponseWriter, _ *http.Request) { w.Header().Set("Content-Type", htmlutf8) - n, err := w.Write([]byte(getwtxt)) + n, err := w.Write([]byte("getwtxt v" + getwtxt)) if err != nil || n == 0 { log.Printf("Error writing to HTTP stream: %v\n", err) } |