This commit is contained in:
batche
2023-01-03 15:18:36 +01:00
parent 5150990d6f
commit 3844c4df53
3 changed files with 6 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ import * as connectRedis from 'connect-redis';
async function bootstrap() {
const app = await NestFactory.create(AppModule, { cors: true });
const port = process.env.PORT || 3001;
const port = process.env.PORT || 3000;
const client = redis.createClient(
{
socket: { host: process.env.REDIS_HOST, port: parseInt(process.env.REDIS_PORT) },