From ab68c2c69a6d0f45b7a67d03caae9e24e8237325 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 26 Feb 2023 17:12:38 +0100 Subject: [PATCH] Bugfix/fix feature graphic of umbrel blog post (#1752) * Fix feature graphic * Update changelog --- CHANGELOG.md | 4 ++++ apps/api/src/app/frontend.middleware.ts | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45bb27076..0d5d911fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Supported a manual currency for the activity unit price +### Fixed + +- Fixed the feature graphic of the _Ghostfolio meets Umbrel_ blog post + ## 1.239.0 - 2023-02-25 ### Added diff --git a/apps/api/src/app/frontend.middleware.ts b/apps/api/src/app/frontend.middleware.ts index 9376f5c43..a43afa3f9 100644 --- a/apps/api/src/app/frontend.middleware.ts +++ b/apps/api/src/app/frontend.middleware.ts @@ -91,9 +91,9 @@ export class FrontendMiddleware implements NestMiddleware { featureGraphicPath = 'assets/images/blog/ghostfolio-x-sackgeld.png'; title = `Ghostfolio auf Sackgeld.com vorgestellt - ${title}`; } else if ( - request.path.startsWith('/de/blog/2023/02/ghostfolio-meets-umbrel') + request.path.startsWith('/en/blog/2023/02/ghostfolio-meets-umbrel') ) { - featureGraphicPath = 'assets/images/blog/ghostfolio-meets-umbrel.png'; + featureGraphicPath = 'assets/images/blog/ghostfolio-x-umbrel.png'; title = `Ghostfolio meets Umbrel - ${title}`; }