Browse Source

Bugfix/fix variable resolution in HtmlTemplateMiddleware (#4975)

* Fix variable resolution in HtmlTemplateMiddleware

* Update changelog
pull/4981/head
Kenrick Tandrian 2 weeks ago
committed by GitHub
parent
commit
14b213c571
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 3
      apps/api/src/main.ts

4
CHANGELOG.md

@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the language localization for French (`fr`)
- Upgraded `class-validator` from version `0.14.1` to `0.14.2`
### Fixed
- Fixed an issue in the `HtmlTemplateMiddleware` related to incorrect variable resolution
## 2.172.0 - 2025-06-19
### Added

3
apps/api/src/main.ts

@ -48,7 +48,8 @@ async function bootstrap() {
exclude: [
'sitemap.xml',
...SUPPORTED_LANGUAGE_CODES.map((languageCode) => {
return `/${languageCode}/*wildcard`;
// Exclude language-specific routes with an optional wildcard
return `/${languageCode}{/*wildcard}`;
})
]
});

Loading…
Cancel
Save