diff --git a/main.go b/main.go index 0e12b8f..e0e72a6 100644 --- a/main.go +++ b/main.go @@ -72,7 +72,7 @@ func main() { ep := escpos.New(f) ep.Init() - http.HandleFunc("/create_label", func(w http.ResponseWriter, r *http.Request) { + http.HandleFunc("/create_dnh_label", func(w http.ResponseWriter, r *http.Request) { createDnhLabelHandler(w, r, ep) })