Skip to content

Commit 93e2819

Browse files
1 parent 7dc9bd3 commit 93e2819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { createClient } from "redis";
4343
import { Server } from "socket.io";
4444
import { createAdapter } from "@socket.io/redis-streams-adapter";
4545

46-
const redisClient = createClient({ host: "localhost", port: 6379 });
46+
const redisClient = createClient({ url: "redis://localhost:6379" });
4747

4848
await redisClient.connect();
4949

0 commit comments

Comments
 (0)