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
parent
commit
dca821e75c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/app.module.ts

1
CHANGELOG.md

@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Fixed an issue in the `HtmlTemplateMiddleware` related to incorrect variable resolution - 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 ## 2.172.0 - 2025-06-19

2
apps/api/src/app/app.module.ts

@ -141,6 +141,6 @@ import { UserModule } from './user/user.module';
}) })
export class AppModule implements NestModule { export class AppModule implements NestModule {
public configure(consumer: MiddlewareConsumer) { public configure(consumer: MiddlewareConsumer) {
consumer.apply(HtmlTemplateMiddleware).forRoutes('*'); consumer.apply(HtmlTemplateMiddleware).forRoutes('*wildcard');
} }
} }

Loading…
Cancel
Save