Add Groningen city as area served. Serve promo folder with flyers

This commit is contained in:
2025-09-24 12:18:52 +02:00
parent 5c46462953
commit 7c47e893c5
6 changed files with 35 additions and 26 deletions

View File

@ -404,6 +404,10 @@ func (s *Server) setupRoutes() {
fs := http.FileServer(http.Dir("static/"))
http.Handle("/static/", http.StripPrefix("/static/", cacheControlMiddleware(fs)))
// Promo files under /promo served from static/promo/
promoFS := http.FileServer(http.Dir("static/promo/"))
http.Handle("/promo/", http.StripPrefix("/promo/", cacheControlMiddleware(promoFS)))
// Page routes
http.HandleFunc("/", s.homeHandler)
http.HandleFunc("/contact", s.contactHandler)