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)