change(ssr): add connected to redis message
All checks were successful
deploy / deploy (push) Successful in 1m2s

This commit is contained in:
Lee 2023-11-08 23:26:57 +00:00
parent 016b958546
commit 5822aa70bf

View File

@ -8,10 +8,7 @@ async function connectRedis(): Promise<any> {
url: process.env.REDIS_URL,
});
await client.connect();
client.on("connect", () => {
console.log("Connected to redis");
});
console.log("Connected to redis");
client.on("error", (error) => {
console.error("There was an error connecting to redis: " + error);