variables .env modificadas

This commit is contained in:
2025-03-10 13:19:03 -06:00
parent 18cc0d596c
commit 1b0e9b1bc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import { ConfigModule } from '@nestjs/config';
username: process.env.db_username,
database: process.env.db_database,
password: process.env.db_password,
port: 3306,
port: Number(process.env.db_port),
synchronize: true,
dropSchema: true, // elimina la base de datos
// logging: true, // Habilita los logs para depuración
+1 -1
View File
@@ -3,6 +3,6 @@ import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(process.env.PORT ?? 3000);
await app.listen(process.env.PORT ?? Number(process.env.app));
}
bootstrap();