chore: update system setting default value (#1665)

This commit is contained in:
boojack
2023-05-15 22:59:26 +08:00
committed by GitHub
parent 041be46732
commit 1a8310f027
5 changed files with 3 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
AllowSignUp: false,
IgnoreUpgrade: false,
DisablePublicMemos: false,
MaxUploadSizeMiB: 32, // this is the frontend default value
MaxUploadSizeMiB: 32,
AdditionalStyle: "",
AdditionalScript: "",
CustomizedProfile: api.CustomizedProfile{
@@ -56,7 +56,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
ExternalURL: "",
},
StorageServiceID: api.DatabaseStorage,
LocalStoragePath: "",
LocalStoragePath: "assets/{timestamp}_{filename}",
}
systemSettingList, err := s.Store.FindSystemSettingList(ctx, &api.SystemSettingFind{})