This commit is contained in:
2025-08-27 21:24:13 +03:00
parent beb033bb6f
commit ef12ba29d1
10 changed files with 140 additions and 174 deletions

View File

@@ -14,14 +14,15 @@ import { ConfigModule } from '@nestjs/config';
ServeStaticModule.forRoot(
{
rootPath: join(__dirname, 'assets/client'),
renderPath: '/'
renderPath: '/',
},
{
rootPath: join(__dirname, 'assets/uploads'),
serveRoot: '/uploads',
}),
},
),
],
controllers: [AppController, StatsController],
providers: [PrismaService, StatsService, AppGetaway],
})
export class AppModule { }
export class AppModule {}