mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-13 18:45:27 -04:00
fix: duplicated fontFS initialization
This commit is contained in:
committed by
Benedikt Kulmann
parent
35766b37d7
commit
84b96f6f8c
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user