aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
authorLibravatar Stefan <stefan@adlk.io>2019-06-04 14:26:56 +0200
committerLibravatar Stefan <stefan@adlk.io>2019-06-04 14:26:56 +0200
commitfd6a1e9ba24c7947af08a30829c860cad4726f67 (patch)
tree0b6276700ced8d13eaf0a1e3b706a69a5a47b1da /src/config.js
parentfix(Windows): Replace tray icon with high-res version (diff)
parentMerge pull request #1443 from meetfranz/feature/multilingual-announcements (diff)
downloadferdium-app-fd6a1e9ba24c7947af08a30829c860cad4726f67.tar.gz
ferdium-app-fd6a1e9ba24c7947af08a30829c860cad4726f67.tar.zst
ferdium-app-fd6a1e9ba24c7947af08a30829c860cad4726f67.zip
Merge branch 'develop' of https://github.com/meetfranz/franz into develop
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js
index 242675762..5bc318545 100644
--- a/src/config.js
+++ b/src/config.js
@@ -9,9 +9,21 @@ const app = process.type === 'renderer' ? electron.remote.app : electron.app;
9const systemPreferences = process.type === 'renderer' ? electron.remote.systemPreferences : electron.systemPreferences; 9const systemPreferences = process.type === 'renderer' ? electron.remote.systemPreferences : electron.systemPreferences;
10 10
11export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks 11export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks
12
12export const LOCAL_API = 'http://localhost:3000'; 13export const LOCAL_API = 'http://localhost:3000';
13export const DEV_API = 'https://dev.franzinfra.com'; 14export const DEV_API = 'https://dev.franzinfra.com';
14export const LIVE_API = 'https://api.franzinfra.com'; 15export const LIVE_API = 'https://api.franzinfra.com';
16
17export const LOCAL_WS_API = 'ws://localhost:3000';
18export const DEV_WS_API = 'wss://dev.franzinfra.com';
19export const LIVE_WS_API = 'wss://api.franzinfra.com';
20
21export const LOCAL_API_WEBSITE = 'http://localhost:3333';
22export const DEV_API_WEBSITE = 'https://meetfranz.com';
23export const LIVE_API_WEBSITE = 'https://meetfranz.com';
24
25export const STATS_API = 'https://stats.franzinfra.com';
26
15export const GA_ID = !isDevMode ? 'UA-74126766-10' : 'UA-74126766-12'; 27export const GA_ID = !isDevMode ? 'UA-74126766-10' : 'UA-74126766-12';
16 28
17export const DEFAULT_APP_SETTINGS = { 29export const DEFAULT_APP_SETTINGS = {
@@ -41,6 +53,7 @@ export const DEFAULT_FEATURES_CONFIG = {
41 }, 53 },
42 isServiceProxyEnabled: false, 54 isServiceProxyEnabled: false,
43 isServiceProxyPremiumFeature: true, 55 isServiceProxyPremiumFeature: true,
56 isAnnouncementsEnabled: true,
44 isWorkspacePremiumFeature: true, 57 isWorkspacePremiumFeature: true,
45 isWorkspaceEnabled: false, 58 isWorkspaceEnabled: false,
46}; 59};