diff --git a/api/v1/rss.go b/api/v1/rss.go index 490f3b41..33c225c2 100644 --- a/api/v1/rss.go +++ b/api/v1/rss.go @@ -158,12 +158,9 @@ func (s *APIV1Service) getSystemCustomizedProfile(ctx context.Context) (*Customi return 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.go index f3654aa8..6a991b76 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.ts index 495a802a..55890206 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.ts index eb000771..4483bc7c 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",