diff options
author | 2021-08-05 15:03:07 +0530 | |
---|---|---|
committer | 2021-08-05 12:56:30 +0000 | |
commit | c1aa23aca9ac88125b34e24f155c577ef5fad39c (patch) | |
tree | 7217fe47b4b9335ec766459431d989e487cd964b /src/config.js | |
parent | revert: partially reverts the previous change to fix issue that the packaged ... (diff) | |
download | ferdium-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.js | 1 |
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 | ||
5 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks | 5 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks |
6 | 6 | ||
7 | export const LOCAL_HOSTNAME = 'localhost'; | ||
7 | export const LOCAL_API = 'http://localhost:3000'; | 8 | export const LOCAL_API = 'http://localhost:3000'; |
8 | export const DEV_FRANZ_API = 'https://dev.franzinfra.com'; | 9 | export const DEV_FRANZ_API = 'https://dev.franzinfra.com'; |
9 | 10 | ||