From 3d9686a1e72e14ca6ef1bc017695510ac992c88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Mon, 8 Dec 2025 22:21:06 +0300 Subject: [PATCH] fix prefix --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) 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')