BUGFIX: fiber only matches beginning of path

This commit is contained in:
Simon Martens
2024-12-03 22:57:05 +01:00
parent 9f0440d827
commit 9b736cb5ef

View File

@@ -165,9 +165,7 @@ func (s *Server) Start() {
srv.Get("/ort/:place?", controllers.GetPlace(s.kgpz))
srv.Get("/kategorie/:category?", controllers.GetCategory(s.kgpz))
srv.Get("/akteure/:letter?", controllers.GetAgents(s.kgpz))
srv.Get("/akteur/:agent", controllers.GetAgent(s.kgpz))
srv.Get("/akteure/:letterorid?", controllers.GetAgents(s.kgpz))
srv.Get("/edition/", controllers.Get("/edition/"))
srv.Get("/datenschutz/", controllers.Get("/datenschutz/"))