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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/main.ts
|
|
@ -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 |
|
|
|
|
|
@ -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}`; |
|
|
|
}) |
|
|
|
] |
|
|
|
}); |
|
|
|