Skip to content

Commit

Permalink
try this slightly different syntax for redis tls
Browse files Browse the repository at this point in the history
  • Loading branch information
bsoule committed Sep 8, 2022
1 parent 3f272ab commit 159c904
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions lib/beebot.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false,
}
})
Expand Down
3 changes: 1 addition & 2 deletions lib/bid.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false,
}
})
Expand Down
3 changes: 1 addition & 2 deletions lib/charge.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL);
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false,
}
})
Expand Down
3 changes: 1 addition & 2 deletions lib/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false,
}
})
Expand Down
3 changes: 1 addition & 2 deletions lib/tagtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false,
}
})
Expand Down
3 changes: 1 addition & 2 deletions lib/tock.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false
}
})
Expand Down
3 changes: 1 addition & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ if (process.env.REDIS_URL) {
//var rtg = require("url").parse(process.env.REDIS_URL)
var redis = require("redis").createClient({
url: process.env.REDIS_URL,
socket: {
tls: true,
tls: {
rejectUnauthorized: false
}
})
Expand Down

0 comments on commit 159c904

Please sign in to comment.