diff --git a/CHANGELOG.md b/CHANGELOG.md index 183a51664..c70752570 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the language localization for Turkish (`tr`) - Upgraded the _Stripe_ dependencies +### Fixed + +- Fixed missing `/.well-known/assetlinks.json` for TWA + ## 2.170.0 - 2025-06-11 ### Added diff --git a/apps/api/src/app/app.module.ts b/apps/api/src/app/app.module.ts index ae6d2f40a..8f342eb43 100644 --- a/apps/api/src/app/app.module.ts +++ b/apps/api/src/app/app.module.ts @@ -103,7 +103,7 @@ import { UserModule } from './user/user.module'; RedisCacheModule, ScheduleModule.forRoot(), ServeStaticModule.forRoot({ - exclude: ['/api/*wildcard', '/sitemap.xml'], + exclude: ['/.well-known/*wildcard', '/api/*wildcard', '/sitemap.xml'], rootPath: join(__dirname, '..', 'client'), serveStaticOptions: { setHeaders: (res) => { @@ -126,6 +126,10 @@ import { UserModule } from './user/user.module'; } } }), + ServeStaticModule.forRoot({ + rootPath: join(__dirname, '..', 'client', '.well-known'), + serveRoot: '/.well-known' + }), SitemapModule, SubscriptionModule, SymbolModule,