variables de entorno, correcciones de codigo actual, docker file
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ async function bootstrap() {
|
||||
|
||||
DocsModule.setupSwagger(app);
|
||||
|
||||
await app.listen(3000);
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
console.log('API en ejecución en http://localhost:3000');
|
||||
console.log('Swagger disponible en http://localhost:3000/api-docs');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user