Connection search availability to the make reservation page

This commit is contained in:
2024-07-10 22:08:23 +02:00
parent ab02f8e635
commit 5a646a2b27
4 changed files with 26 additions and 2 deletions

View File

@ -28,6 +28,7 @@ func routes(app *config.AppConfig) http.Handler {
mux.Get("/make-reservation", handlers.Repo.MakeReservation)
mux.Post("/make-reservation", handlers.Repo.PostMakeReservation)
mux.Get("/reservation-summary", handlers.Repo.ReservationSummary)
mux.Get("/choose-room/{id}", handlers.Repo.ChooseRoom)
fileServer := http.FileServer(http.Dir("./static/"))
mux.Handle("/static/*", http.StripPrefix("/static", fileServer))