This commit is contained in:
2025-08-29 14:46:22 +03:00
parent f0d029e4d3
commit eb907f3fef

View File

@@ -13,12 +13,12 @@ import { ConfigModule } from '@nestjs/config';
ConfigModule.forRoot(),
ServeStaticModule.forRoot(
{
rootPath: join(__dirname, 'assets/client'),
renderPath: '/',
rootPath: join(__dirname, 'assets/uploads'),
renderPath: '/uploads'
},
{
rootPath: join(__dirname, 'assets/uploads'),
serveRoot: '/uploads',
rootPath: join(__dirname, 'assets/client'),
renderPath: '*'
},
),
],