mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:47:33 +00:00
fix(middleware): init translation messages (#7778)
* fix(middleware): init translation messages * revert change * refactor: split loop in separate function * add imports to ensure init of fs
This commit is contained in:
@@ -5,6 +5,11 @@ import (
|
||||
|
||||
"github.com/rakyll/statik/fs"
|
||||
"github.com/zitadel/logging"
|
||||
|
||||
// ensure fs is setup
|
||||
_ "github.com/zitadel/zitadel/internal/api/ui/login/statik"
|
||||
_ "github.com/zitadel/zitadel/internal/notification/statik"
|
||||
_ "github.com/zitadel/zitadel/internal/statik"
|
||||
)
|
||||
|
||||
var zitadelFS, loginFS, notificationFS http.FileSystem
|
||||
|
Reference in New Issue
Block a user