1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/client
Nikolay Karadzhov 539fe52236 fix(client): make socket.host not required (#3024)
Underlying node tls.ConnectionOptions does not require host,
so we shouldnt as well. Further, if `url` is provided in
the upper level config, it takes precedence, which could be misleading:

createClient({
  url: 'rediss://user:secret@localhost:6379/0',
  socket: {
    tls: true,
    host: 'somehost' <-- this gets overwritten to `localhost`
  }
});

fixes #3023
2025-07-21 18:17:07 +03:00
..
2022-12-26 13:35:37 -05:00
2025-06-04 10:52:14 +03:00
2025-05-19 15:11:47 +03:00
2025-07-08 11:37:25 +00:00
2022-05-02 11:48:12 -04:00

@redis/client

The source code and documentation for this package are in the main node-redis repo.