about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index d48a45a..280d359 100644
--- a/server.go
+++ b/server.go
@@ -29,7 +29,7 @@ func main() {
 	// Define a new gorilla/mux router and define some endpoints
 	r := mux.NewRouter()
 
-	r.HandleFunc("/v1/", indexHandler)
+	r.HandleFunc("/", indexHandler)
 	r.HandleFunc("/v1/dumpall", dumpallHandler)
 	r.HandleFunc("/v1/all", printAllHandler)
 	r.HandleFunc("/v1/{station}/{name}", getHandler)