From 2112a60001b9e6fbcabca604ab7ee17fd7005c99 Mon Sep 17 00:00:00 2001 From: Zane Chua <4265429+zanechua@users.noreply.github.com> Date: Mon, 27 May 2019 15:42:37 +0800 Subject: [PATCH] Update session.js redis configuration (#42) --- config/session.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/session.js b/config/session.js index 03aec1a..30d6bab 100644 --- a/config/session.js +++ b/config/session.js @@ -91,5 +91,11 @@ module.exports = { | the redis file. But you are free to define an object here too. | */ - redis: 'self::redis.local' + redis: { + host: '127.0.0.1', + port: 6379, + password: null, + db: 0, + keyPrefix: '' + } }