diff --git a/src/main.ts b/src/main.ts index 4167657..7739aa5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,6 +5,8 @@ import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); + app.setGlobalPrefix('api'); + const config = new DocumentBuilder() .setTitle('Travelmarine backend') .setDescription('Backend API for Travelmarine service')