aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
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/config.js
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/config.js')
-rw-r--r--src/config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js
index ef3e4f962..3598fa5d5 100644
--- a/src/config.js
+++ b/src/config.js
@@ -4,6 +4,7 @@ import ms from 'ms';
4 4
5export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks 5export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks
6 6
7export const LOCAL_HOSTNAME = 'localhost';
7export const LOCAL_API = 'http://localhost:3000'; 8export const LOCAL_API = 'http://localhost:3000';
8export const DEV_FRANZ_API = 'https://dev.franzinfra.com'; 9export const DEV_FRANZ_API = 'https://dev.franzinfra.com';
9 10