This commit is contained in:
2025-07-24 17:58:16 +05:30
parent 53c7529bfb
commit 04c6aa19f9

View File

@@ -8,7 +8,7 @@ import * as dotenv from 'dotenv';
dotenv.config();
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('server');
// app.setGlobalPrefix('server');
app.useGlobalPipes(new ValidationPipe({}));
// Swagger setup
const config = new DocumentBuilder()