From eb907f3fefab765d0844a03e746b2270b16a7190 Mon Sep 17 00:00:00 2001 From: Vasa Date: Fri, 29 Aug 2025 14:46:22 +0300 Subject: [PATCH] fix --- src/app.module.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 34cc1b4..9d75246 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -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: '*' }, ), ],