set two options for translating

This commit is contained in:
Daniel Goc
2026-03-16 11:12:17 +01:00
parent 56a1495a0b
commit 7aa16c644f
19 changed files with 115 additions and 6788 deletions

View File

@@ -77,7 +77,7 @@ func (s *Server) Setup() error {
s.api = s.app.Group("/api/v1")
s.public = s.api.Group("/public")
s.restricted = s.api.Group("/restricted")
// s.restricted.Use(middleware.AuthMiddleware())
s.restricted.Use(middleware.AuthMiddleware())
// initialize language endpoints (general)
api.NewLangHandler().InitLanguage(s.api, s.cfg)