Description
I'm having my redis configured to use TLS according to Heroku's example
const redis = require("redis");
const redis_url = process.env.REDIS_URL;
const client = redis.createClient({
url: redis_url,
socket: {
tls: (redis_url.match(/rediss:/) != null),
rejectUnauthorized: false,
}
});
While it is working just fine with client v4.x, in version v5.x it gives a type error:
Node.js Version
22.16.0
Redis Server Version
N/A
Node Redis Version
5.6.0
Platform
MacOS
Logs
Description
I'm having my redis configured to use TLS according to Heroku's example
While it is working just fine with client v4.x, in version v5.x it gives a type error:
Node.js Version
22.16.0
Redis Server Version
N/A
Node Redis Version
5.6.0
Platform
MacOS
Logs