fix prefix
This commit is contained in:
parent
329e92b085
commit
3d9686a1e7
|
|
@ -5,6 +5,8 @@ import { AppModule } from './app.module';
|
||||||
async function bootstrap() {
|
async function bootstrap() {
|
||||||
const app = await NestFactory.create(AppModule);
|
const app = await NestFactory.create(AppModule);
|
||||||
|
|
||||||
|
app.setGlobalPrefix('api');
|
||||||
|
|
||||||
const config = new DocumentBuilder()
|
const config = new DocumentBuilder()
|
||||||
.setTitle('Travelmarine backend')
|
.setTitle('Travelmarine backend')
|
||||||
.setDescription('Backend API for Travelmarine service')
|
.setDescription('Backend API for Travelmarine service')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue