aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-02-22 17:15:22 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-02-22 17:15:22 +0100
commitbba95118076e1185c05605bdf58fabac3de82f17 (patch)
tree190f88e47e91763bc5702b5bbc55a04744043358 /src/config.js
parentpin gulp-sass-variables version to 1.1.1 (diff)
parentremove code (diff)
downloadferdium-app-bba95118076e1185c05605bdf58fabac3de82f17.tar.gz
ferdium-app-bba95118076e1185c05605bdf58fabac3de82f17.tar.zst
ferdium-app-bba95118076e1185c05605bdf58fabac3de82f17.zip
merge-in latest develop
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.js b/src/config.js
index 3696354c6..b11952520 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,5 +1,7 @@
1import electron from 'electron'; 1import electron from 'electron';
2import path from 'path'; 2import path from 'path';
3import isDevMode from 'electron-is-dev';
4
3import { asarPath } from './helpers/asar-helpers'; 5import { asarPath } from './helpers/asar-helpers';
4 6
5const app = process.type === 'renderer' ? electron.remote.app : electron.app; 7const app = process.type === 'renderer' ? electron.remote.app : electron.app;
@@ -9,7 +11,7 @@ export const CHECK_INTERVAL = 1000 * 3600; // How often should we perform checks
9export const LOCAL_API = 'http://localhost:3000'; 11export const LOCAL_API = 'http://localhost:3000';
10export const DEV_API = 'https://dev.franzinfra.com'; 12export const DEV_API = 'https://dev.franzinfra.com';
11export const LIVE_API = 'https://api.franzinfra.com'; 13export const LIVE_API = 'https://api.franzinfra.com';
12export const GA_ID = 'UA-74126766-10'; 14export const GA_ID = !isDevMode ? 'UA-74126766-10' : 'UA-74126766-12';
13 15
14export const DEFAULT_APP_SETTINGS = { 16export const DEFAULT_APP_SETTINGS = {
15 autoLaunchInBackground: false, 17 autoLaunchInBackground: false,