api: remove API_NAME
env variable & from server info
This commit is contained in:
parent
2575b0c145
commit
012fadd2f0
2 changed files with 0 additions and 2 deletions
|
@ -32,7 +32,6 @@ export function runAPI(express, app, gitCommit, gitBranch, __dirname) {
|
||||||
version: version,
|
version: version,
|
||||||
commit: gitCommit,
|
commit: gitCommit,
|
||||||
branch: gitBranch,
|
branch: gitBranch,
|
||||||
name: env.apiName,
|
|
||||||
url: env.apiURL,
|
url: env.apiURL,
|
||||||
cors: Number(env.corsWildcard),
|
cors: Number(env.corsWildcard),
|
||||||
startTime: `${startTimestamp}`
|
startTime: `${startTimestamp}`
|
||||||
|
|
|
@ -26,7 +26,6 @@ export const
|
||||||
env = {
|
env = {
|
||||||
apiURL: process.env.API_URL || '',
|
apiURL: process.env.API_URL || '',
|
||||||
apiPort: process.env.API_PORT || 9000,
|
apiPort: process.env.API_PORT || 9000,
|
||||||
apiName: process.env.API_NAME || 'unknown',
|
|
||||||
|
|
||||||
listenAddress: process.env.API_LISTEN_ADDRESS,
|
listenAddress: process.env.API_LISTEN_ADDRESS,
|
||||||
freebindCIDR: process.platform === 'linux' && process.env.FREEBIND_CIDR,
|
freebindCIDR: process.platform === 'linux' && process.env.FREEBIND_CIDR,
|
||||||
|
|
Loading…
Reference in a new issue