Skip to content

Commit 91f2b87

Browse files
committed
Added redis url option
1 parent f10a324 commit 91f2b87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ app.use(json({ pretty: false, param: 'pretty' }));
3838
// 90 minute TTL
3939
const options = {
4040
expire: 5000,
41+
options: {
42+
url: process.env.REDISCLOUD_URL || 'redis://127.0.0.1:6379',
43+
},
4144
};
4245

4346
// Hide logging when running tests

0 commit comments

Comments
 (0)