Browse Source

Bugfix/fix feature graphic of umbrel blog post (#1752)

* Fix feature graphic

* Update changelog
pull/1753/head
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
ab68c2c69a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 4
      apps/api/src/app/frontend.middleware.ts

4
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

4
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}`;
}

Loading…
Cancel
Save