Explorar el Código

Make results image page work without trailing slash

Maddie Zhan hace 6 años
padre
commit
0aed498a58
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      web/web.go

+ 1 - 0
web/web.go

@@ -49,6 +49,7 @@ func ListenAndServe(conf *config.Config) error {
 	r.HandleFunc("/empty", empty)
 	r.Get("/garbage", garbage)
 	r.Get("/getIP", getIP)
+	r.Get("/results", results.DrawPNG)
 	r.Get("/results/", results.DrawPNG)
 	r.Post("/results/telemetry", results.Record)
 	r.HandleFunc("/stats", results.Stats)