 (defn admin-page [req] 
   {:status 200 
    :headers {"Content-Type" "text/html; charset=utf-8"}
-   :body "Hello Admin!"})
+   :body (slurp "public/admin-app.html" :encoding "UTF-8")})
 
 
 (defn not-found-page [req] 

       :post do-booking    
      }
      ["/odmin" ^:interceptors [basic-auth ] {:get admin-subscribe}
          ["/all" {:get wait-for-events}]
     ]]]])



           (update-in [:cookies] merge cookie))))


(defn admin-subscribe [request]
  
  )
;(def admin-subscribe (partial subscribe-for "admin-session" ::wait-for-events))

(def wait-for-events (sse-setup (partial add-subscriber "admin-session")))

