add base api path to nestjs: "api"

This commit is contained in:
Roland Schneider
2025-11-13 21:49:41 +01:00
parent e09110346e
commit 19ca0c086c
9 changed files with 73 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useLogger(app.get(DvbookingLoggerService));
app.setGlobalPrefix('api');
const config = new DocumentBuilder()
.setTitle('DV Booking API')
.setDescription('The DV Booking API description')