Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: tweak custom profile
Stevena10b3d382183
diff --git a/api/v1/rss.go b/api/v1/rss.goindex 490f3b41a..33c225c2e 100644--- a/api/v1/rss.go+++ b/api/v1/rss.go@@ -158,12 +158,9 @@ func (s *APIV1Service) getSystemCustomizedProfile(ctx context.Context) (*Customireturn nil, err}customizedProfile := &CustomizedProfile{- Name: "memos",- LogoURL: "",- Description: "",- Locale: "en",- Appearance: "system",- ExternalURL: "",+ Name: "Memos",+ Locale: "en",+ Appearance: "system",}if systemSetting != nil {if err := json.Unmarshal([]byte(systemSetting.Value), customizedProfile); err != nil {diff --git a/api/v1/system.go b/api/v1/system.goindex f3654aa80..6a991b761 100644--- a/api/v1/system.go+++ b/api/v1/system.go@@ -80,7 +80,7 @@ func (s *APIV1Service) GetSystemStatus(c echo.Context) error {AllowSignUp: true,MaxUploadSizeMiB: 32,CustomizedProfile: CustomizedProfile{- Name: "memos",+ Name: "Memos",Locale: "en",Appearance: "system",},diff --git a/web/src/store/module/global.ts b/web/src/store/module/global.tsindex 495a802ae..558902060 100644--- a/web/src/store/module/global.ts+++ b/web/src/store/module/global.ts@@ -21,7 +21,7 @@ export const initialGlobalState = async () => {additionalScript: "",memoDisplayWithUpdatedTs: false,customizedProfile: {- name: "memos",+ name: "Memos",logoUrl: "/logo.png",description: "",locale: "en",@@ -37,7 +37,7 @@ export const initialGlobalState = async () => {defaultGlobalState.systemStatus = {...data,customizedProfile: {- name: customizedProfile.name || "memos",+ name: customizedProfile.name || "Memos",logoUrl: customizedProfile.logoUrl || "/logo.png",description: customizedProfile.description,locale: customizedProfile.locale || "en",diff --git a/web/src/store/reducer/global.ts b/web/src/store/reducer/global.tsindex eb000771c..4483bc7ca 100644--- a/web/src/store/reducer/global.ts+++ b/web/src/store/reducer/global.ts@@ -25,7 +25,7 @@ const globalSlice = createSlice({additionalScript: "",memoDisplayWithUpdatedTs: false,customizedProfile: {- name: "memos",+ name: "Memos",logoUrl: "/logo.png",description: "",locale: "en",