BUGFIX: cloniung on startup

This commit is contained in:
Simon Martens
2024-11-13 15:53:47 +01:00
parent 2746a6fdfc
commit 934fe88a8d
2 changed files with 13 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ func (s *Server) Start() {
}
srv.Use(recover.New())
srv.Use(STATIC_PREFIX, static(&views.StaticFS, STATIC_PREFIX))
srv.Use(STATIC_PREFIX, static(&views.StaticFS))
srv.Get("/", func(c *fiber.Ctx) error {
return c.SendString("I'm a GET request!")