feat: 调整resource为服务端渲染

This commit is contained in:
2025-12-12 18:08:49 +08:00
parent 90f080e9b1
commit 14137c5472
7 changed files with 70 additions and 34 deletions

View File

@@ -5,6 +5,7 @@ import { ResponseInterceptor } from './common/interceptors/response.interceptor'
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('api');
app.useGlobalPipes(
new ValidationPipe({
transform: true,