Browse Source
Bugfix/resolve LegacyRouteConverter warning on startup (#4980)
* Resolve LegacyRouteConverter warning on startup
* Update changelog
pull/4993/head
Kenrick Tandrian
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/app/app.module.ts
|
|
@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed an issue in the `HtmlTemplateMiddleware` related to incorrect variable resolution |
|
|
|
- Eliminated the _Unsupported route path_ warning of the `LegacyRouteConverter` on startup |
|
|
|
|
|
|
|
## 2.172.0 - 2025-06-19 |
|
|
|
|
|
|
|
|
|
@ -141,6 +141,6 @@ import { UserModule } from './user/user.module'; |
|
|
|
}) |
|
|
|
export class AppModule implements NestModule { |
|
|
|
public configure(consumer: MiddlewareConsumer) { |
|
|
|
consumer.apply(HtmlTemplateMiddleware).forRoutes('*'); |
|
|
|
consumer.apply(HtmlTemplateMiddleware).forRoutes('*wildcard'); |
|
|
|
} |
|
|
|
} |
|
|
|