Browse Source

Fix missing assetlinks.json

pull/4938/head
Thomas Kaul 2 weeks ago
parent
commit
1ae6cf2d4d
  1. 6
      apps/api/src/app/app.module.ts

6
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({
serveRoot: '/.well-known',
rootPath: join(__dirname, '..', 'client', '.well-known')
}),
SitemapModule,
SubscriptionModule,
SymbolModule,

Loading…
Cancel
Save