Rajan Shah
Rajan Shah
I am still getting the Error `MOVED 12218 ip:6379`. Following is the code ``` import {createClient} from "redis"; // redis: ^4.0.1 const client = createClient({url: "redis://xyz.abc.clustercfg.use2.cache.amazonaws.com:6379"}); await client.connect(); console.log("client connected");...
This is to way to connect for above issue. ``` const redis = require('redis'); const client = redis.createCluster({ rootNodes: [ { url: `redis://${ConfigurationEndpoint}:${port}`, }, ], useReplicas: true, }); ```