Criação do handler de autenticação, para um futuro microserviço de auth
This commit is contained in:
@@ -8,6 +8,7 @@ async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
app.useGlobalInterceptors(new ResponseInterceptor());
|
||||
|
||||
|
||||
|
||||
app.useGlobalPipes(
|
||||
@@ -36,6 +37,6 @@ async function bootstrap() {
|
||||
SwaggerModule.setup('docs', app, document);
|
||||
|
||||
|
||||
await app.listen(9001);
|
||||
await app.listen(8066);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user