feat: add database filesize in UI (#488)

This commit is contained in:
boojack
2022-11-18 21:17:52 +08:00
committed by GitHub
parent 706b1b428f
commit a2831b37c4
13 changed files with 74 additions and 26 deletions

View File

@ -5,6 +5,8 @@ import "github.com/usememos/memos/server/profile"
type SystemStatus struct {
Host *User `json:"host"`
Profile *profile.Profile `json:"profile"`
DBSize int64 `json:"dbSize"`
// System settings
// Allow sign up.
AllowSignUp bool `json:"allowSignUp"`