diff --git a/server/src/index.ts b/server/src/index.ts index 2a37168..a9df4f2 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -689,9 +689,6 @@ async function reconcileShouldBeRunning(): Promise { } } -// Start server -const isProduction = process.env.NODE_ENV === 'production'; - app.listen(PORT, () => { const dockerConnection = getDockerConnectionInfo(); @@ -699,7 +696,7 @@ app.listen(PORT, () => { console.log(`Config directory: ${CONFIG_DIR}`); console.log(`Docker: ${dockerConnection.endpoint} (${dockerConnection.source})`); - if (isProduction) { + if (process.env.NODE_ENV === 'production') { console.log(''); console.log('┌─────────────────────────────────────────────────────┐'); console.log('│ │'); diff --git a/shared/ports.json b/shared/ports.json deleted file mode 100644 index 6529b2c..0000000 --- a/shared/ports.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "TRANSLATOR_PORT": 34255, - "JDC_PORT": 34265, - "JDC_AUTHORITY_PUBLIC_KEY": "9auqWEzQDVyd2oe1JVGFLMLHZtCo2FFqZwtKA5gd9xbuEu7PH72" -}