aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-05-16 17:34:02 -0500
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-05-16 19:25:46 -0500
commite3d4447d0d55401f12cd3097569e390863b614b9 (patch)
tree8deae876e180d529941779e8ade63f081a87a6ef /src
parentMinor refactoring to extract common function to deduce icon url (diff)
downloadferdium-app-e3d4447d0d55401f12cd3097569e390863b614b9.tar.gz
ferdium-app-e3d4447d0d55401f12cd3097569e390863b614b9.tar.zst
ferdium-app-e3d4447d0d55401f12cd3097569e390863b614b9.zip
Use different ports as compared to Ferdi
Diffstat (limited to 'src')
-rw-r--r--src/config.ts2
-rw-r--r--src/internal-server/env.ini2
-rw-r--r--src/internal-server/test.ts2
-rw-r--r--src/stores/RequestStore.js3
4 files changed, 5 insertions, 4 deletions
diff --git a/src/config.ts b/src/config.ts
index ac1031507..c72edb012 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -7,7 +7,7 @@ export const DEFAULT_ACCENT_COLOR = '#7266F0';
7export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks 7export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks
8 8
9export const LOCAL_HOSTNAME = 'localhost'; 9export const LOCAL_HOSTNAME = 'localhost';
10export const LOCAL_PORT = 45_569; 10export const LOCAL_PORT = 46_569;
11export const LOCAL_API = 'http://localhost:3000'; 11export const LOCAL_API = 'http://localhost:3000';
12export const DEV_FRANZ_API = 'https://dev.franzinfra.com'; 12export const DEV_FRANZ_API = 'https://dev.franzinfra.com';
13 13
diff --git a/src/internal-server/env.ini b/src/internal-server/env.ini
index d8224e91e..66954c353 100644
--- a/src/internal-server/env.ini
+++ b/src/internal-server/env.ini
@@ -1,5 +1,5 @@
1HOST=localhost 1HOST=localhost
2PORT=45569 2PORT=46569
3NODE_ENV=development 3NODE_ENV=development
4APP_NAME=Ferdium Internal Server 4APP_NAME=Ferdium Internal Server
5CACHE_VIEWS=false 5CACHE_VIEWS=false
diff --git a/src/internal-server/test.ts b/src/internal-server/test.ts
index 46d1b1e4a..87ed57848 100644
--- a/src/internal-server/test.ts
+++ b/src/internal-server/test.ts
@@ -6,4 +6,4 @@ const dummyUserFolder = join(__dirname, 'user_data');
6 6
7ensureDirSync(dummyUserFolder); 7ensureDirSync(dummyUserFolder);
8 8
9server(dummyUserFolder, 45_568); 9server(dummyUserFolder, 46_568);
diff --git a/src/stores/RequestStore.js b/src/stores/RequestStore.js
index 8b716ac81..71a5360ac 100644
--- a/src/stores/RequestStore.js
+++ b/src/stores/RequestStore.js
@@ -1,6 +1,7 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { action, computed, observable } from 'mobx'; 2import { action, computed, observable } from 'mobx';
3import ms from 'ms'; 3import ms from 'ms';
4import { LOCAL_PORT } from '../config';
4 5
5import Store from './lib/Store'; 6import Store from './lib/Store';
6 7
@@ -13,7 +14,7 @@ export default class RequestStore extends Store {
13 14
14 @observable showRequiredRequestsError = false; 15 @observable showRequiredRequestsError = false;
15 16
16 @observable localServerPort = 45_569; 17 @observable localServerPort = LOCAL_PORT;
17 18
18 retries = 0; 19 retries = 0;
19 20