feat: add list of currencies

This commit is contained in:
2026-04-17 15:12:41 +02:00
parent ec44200332
commit 93a7dd1718
10 changed files with 102 additions and 35 deletions

View File

@@ -150,7 +150,8 @@ func (s *Server) Setup() error {
restricted.StorageHandlerRoutes(restrictedStorage)
webdav.StorageHandlerRoutes(webdavStorage)
restricted.CurrencyHandlerRoutes(s.restricted)
restrictedCurrency := s.restricted.Group("/currency-rate")
restricted.CurrencyHandlerRoutes(restrictedCurrency)
s.api.All("*", func(c fiber.Ctx) error {
return c.SendStatus(fiber.StatusNotFound)