forked from Ynov/ptitspas-ynov-back
fixed swagger import
This commit is contained in:
parent
ca1c11ff18
commit
7ff7dd71a8
@ -23,7 +23,9 @@ async function bootstrap() {
|
||||
const configService = app.get(ConfigService);
|
||||
|
||||
const port = configService.get<number>('app.port', 3000);
|
||||
app.setGlobalPrefix('api/v1');
|
||||
app.setGlobalPrefix('api/v1', {
|
||||
exclude: ['/api-docs'],
|
||||
});
|
||||
|
||||
const config = new DocumentBuilder()
|
||||
.setTitle("P'titsPas API")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user