aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-02-26 15:38:20 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-02-26 15:38:20 +0100
commitb5ad31e316c1074cfa6f57f83e262a607eda9d44 (patch)
treeaffcfbc28b8892388ab23d97415902edfc682cab /src/config.js
parentfinish basic workspace settings (diff)
parentremove unused packages (diff)
downloadferdium-app-b5ad31e316c1074cfa6f57f83e262a607eda9d44.tar.gz
ferdium-app-b5ad31e316c1074cfa6f57f83e262a607eda9d44.tar.zst
ferdium-app-b5ad31e316c1074cfa6f57f83e262a607eda9d44.zip
fixes merge conflicts with latest develop
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config.js b/src/config.js
index b11952520..30a5a5cc0 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,13 +1,14 @@
1import electron from 'electron'; 1import electron from 'electron';
2import path from 'path'; 2import path from 'path';
3import isDevMode from 'electron-is-dev'; 3import isDevMode from 'electron-is-dev';
4import ms from 'ms';
4 5
5import { asarPath } from './helpers/asar-helpers'; 6import { asarPath } from './helpers/asar-helpers';
6 7
7const app = process.type === 'renderer' ? electron.remote.app : electron.app; 8const app = process.type === 'renderer' ? electron.remote.app : electron.app;
8const systemPreferences = process.type === 'renderer' ? electron.remote.systemPreferences : electron.systemPreferences; 9const systemPreferences = process.type === 'renderer' ? electron.remote.systemPreferences : electron.systemPreferences;
9 10
10export const CHECK_INTERVAL = 1000 * 3600; // How often should we perform checks 11export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks
11export const LOCAL_API = 'http://localhost:3000'; 12export const LOCAL_API = 'http://localhost:3000';
12export const DEV_API = 'https://dev.franzinfra.com'; 13export const DEV_API = 'https://dev.franzinfra.com';
13export const LIVE_API = 'https://api.franzinfra.com'; 14export const LIVE_API = 'https://api.franzinfra.com';
@@ -35,8 +36,8 @@ export const DEFAULT_FEATURES_CONFIG = {
35 isSpellcheckerPremiumFeature: false, 36 isSpellcheckerPremiumFeature: false,
36 needToWaitToProceed: false, 37 needToWaitToProceed: false,
37 needToWaitToProceedConfig: { 38 needToWaitToProceedConfig: {
38 delayOffset: 3600000, 39 delayOffset: ms('1h'),
39 wait: 10000, 40 wait: ms('10s'),
40 }, 41 },
41 isServiceProxyEnabled: false, 42 isServiceProxyEnabled: false,
42 isServiceProxyPremiumFeature: true, 43 isServiceProxyPremiumFeature: true,