Skip to content

Commit be6020e

Browse files
feedback
1 parent 11cdf04 commit be6020e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/redis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Redis } from 'ioredis';
33
import fs from "fs";
44

55
const buildTlsOptions = (): Record<string, unknown> => {
6-
if (env.REDIS_TLS_ENABLED !== "true") {
6+
if (env.REDIS_TLS_ENABLED !== "true" && !env.REDIS_URL.startsWith("rediss://")) {
77
return {};
88
}
99

0 commit comments

Comments
 (0)