The .env, test.env, and README.md files refer to an environment variable called ZION_SERVER_PORT for configuring the port the Zion server should listen on:
|
# ZION_SERVER_PORT specifies the port number on which the Zion server will listen for incoming requests. |
|
ZION_SERVER_PORT=3000 |
However, in the codebase itself, this environment variable is apparently not being used and instead, the AppConfig tries to use the variables ZION_APP_HOST and ZION_APP_PORT instead:
|
host: this.nestConfigService.get('ZION_APP_HOST', Default.app.host), |
|
port: this.nestConfigService.get('ZION_APP_PORT', Default.app.port), |
Is this correct or should ZION_APP_HOST and ZION_APP_PORT be changed to ZION_SERVER_HOST and ZION_SERVER_PORT here (or vice versa)?
The
.env,test.env, andREADME.mdfiles refer to an environment variable calledZION_SERVER_PORTfor configuring the port the Zion server should listen on:zion/test.env
Line 2 in 5b03e3e
zion/.env
Line 3 in 5b03e3e
zion/README.md
Lines 66 to 67 in 5b03e3e
However, in the codebase itself, this environment variable is apparently not being used and instead, the
AppConfigtries to use the variablesZION_APP_HOSTandZION_APP_PORTinstead:zion/src/config/config.service.ts
Lines 24 to 25 in 5b03e3e
Is this correct or should
ZION_APP_HOSTandZION_APP_PORTbe changed toZION_SERVER_HOSTandZION_SERVER_PORThere (or vice versa)?