fix: duplicated fontFS initialization

This commit is contained in:
Florian Schade
2026-06-10 22:42:52 +02:00
committed by Benedikt Kulmann
parent 35766b37d7
commit 84b96f6f8c

View File

@@ -154,7 +154,7 @@ func Server(cfg *config.Config) *cobra.Command {
}
fontServiceRootURI, err := url.JoinPath(cfg.Commons.OpenCloudURL, "/collaboration/fonts")
if err := fontFS.MkdirAll("/", 0o755); err != nil {
if err != nil {
logger.Error().Err(err).Msg("Failed to build font service root uri")
return err
}