mirror of
https://github.com/usememos/memos.git
synced 2024-11-11 01:12:40 +08:00
b67ed1ee13
* feat: system setting for customized profile * chore: update * feat: update frontend * chore: update
19 lines
574 B
Go
19 lines
574 B
Go
package api
|
|
|
|
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"`
|
|
// Additional style.
|
|
AdditionalStyle string `json:"additionalStyle"`
|
|
// Additional script.
|
|
AdditionalScript string `json:"additionalScript"`
|
|
// Customized server profile, including server name and external url.
|
|
CustomizedProfile CustomizedProfile `json:"customizedProfile"`
|
|
}
|