aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal-server/config
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-05 15:03:07 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-05 12:56:30 +0000
commitc1aa23aca9ac88125b34e24f155c577ef5fad39c (patch)
tree7217fe47b4b9335ec766459431d989e487cd964b /src/internal-server/config
parentrevert: partially reverts the previous change to fix issue that the packaged ... (diff)
downloadferdium-app-c1aa23aca9ac88125b34e24f155c577ef5fad39c.tar.gz
ferdium-app-c1aa23aca9ac88125b34e24f155c577ef5fad39c.tar.zst
ferdium-app-c1aa23aca9ac88125b34e24f155c577ef5fad39c.zip
fix: change all occurrences of hard-coded ip address '127.0.0.1' to 'localhost'
Also refactored to make this a constant defined in a single file where it is imported for all other uses. fixes #1253
Diffstat (limited to 'src/internal-server/config')
-rw-r--r--src/internal-server/config/session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal-server/config/session.js b/src/internal-server/config/session.js
index 62c4f9cc8..3ce3cc4da 100644
--- a/src/internal-server/config/session.js
+++ b/src/internal-server/config/session.js
@@ -88,7 +88,7 @@ module.exports = {
88 | 88 |
89 */ 89 */
90 redis: { 90 redis: {
91 host: '127.0.0.1', 91 host: 'localhost',
92 port: 6379, 92 port: 6379,
93 password: null, 93 password: null,
94 db: 0, 94 db: 0,