forked from Ynov/ptitspas-ynov-back
global prefix added
This commit is contained in:
parent
ca864f33b7
commit
74ad0c532f
@ -8,6 +8,7 @@ async function bootstrap() {
|
||||
const configService = app.get(ConfigService);
|
||||
|
||||
const port = configService.get<number>('app.port', 3000);
|
||||
app.setGlobalPrefix('api/v1');
|
||||
await app.listen(port);
|
||||
console.log(`✅ P'titsPas API is running on: ${await app.getUrl()}`);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user