Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/resolve LegacyRouteConverter warning on startup (#4980)

Kenrick Tandriandca821e75c84
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 40d44933c5..018a7cedee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/apps/api/src/app/app.module.ts b/apps/api/src/app/app.module.ts
index 7e9704183d..1c48b97027 100644
--- a/apps/api/src/app/app.module.ts
+++ b/apps/api/src/app/app.module.ts
@@ -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');
}
}