From a1833d668518d07ed75a35bd996f0f919541f34d Mon Sep 17 00:00:00 2001 From: matst80 Date: Thu, 16 Oct 2025 22:54:08 +0200 Subject: [PATCH] missed save --- cmd/backoffice/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/backoffice/main.go b/cmd/backoffice/main.go index 9d41b36..5f9ac87 100644 --- a/cmd/backoffice/main.go +++ b/cmd/backoffice/main.go @@ -89,6 +89,8 @@ func main() { mux := http.NewServeMux() mux.HandleFunc("GET /carts", fs.CartsHandler) mux.HandleFunc("GET /cart/{id}", fs.CartHandler) + mux.HandleFunc("/promotions", fs.PromotionsHandler) + mux.HandleFunc("/ws", hub.ServeWS) mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK)