diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-05-16 17:34:02 -0500 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-05-16 19:25:46 -0500 |
commit | e3d4447d0d55401f12cd3097569e390863b614b9 (patch) | |
tree | 8deae876e180d529941779e8ade63f081a87a6ef /src | |
parent | Minor refactoring to extract common function to deduce icon url (diff) | |
download | ferdium-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.ts | 2 | ||||
-rw-r--r-- | src/internal-server/env.ini | 2 | ||||
-rw-r--r-- | src/internal-server/test.ts | 2 | ||||
-rw-r--r-- | src/stores/RequestStore.js | 3 |
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'; | |||
7 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks | 7 | export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks |
8 | 8 | ||
9 | export const LOCAL_HOSTNAME = 'localhost'; | 9 | export const LOCAL_HOSTNAME = 'localhost'; |
10 | export const LOCAL_PORT = 45_569; | 10 | export const LOCAL_PORT = 46_569; |
11 | export const LOCAL_API = 'http://localhost:3000'; | 11 | export const LOCAL_API = 'http://localhost:3000'; |
12 | export const DEV_FRANZ_API = 'https://dev.franzinfra.com'; | 12 | export 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 @@ | |||
1 | HOST=localhost | 1 | HOST=localhost |
2 | PORT=45569 | 2 | PORT=46569 |
3 | NODE_ENV=development | 3 | NODE_ENV=development |
4 | APP_NAME=Ferdium Internal Server | 4 | APP_NAME=Ferdium Internal Server |
5 | CACHE_VIEWS=false | 5 | CACHE_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 | ||
7 | ensureDirSync(dummyUserFolder); | 7 | ensureDirSync(dummyUserFolder); |
8 | 8 | ||
9 | server(dummyUserFolder, 45_568); | 9 | server(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 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { action, computed, observable } from 'mobx'; | 2 | import { action, computed, observable } from 'mobx'; |
3 | import ms from 'ms'; | 3 | import ms from 'ms'; |
4 | import { LOCAL_PORT } from '../config'; | ||
4 | 5 | ||
5 | import Store from './lib/Store'; | 6 | import 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 | ||