-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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:
Line 2 in 5b03e3e
| ZION_SERVER_PORT=3000 |
Lines 66 to 67 in 5b03e3e
| # 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:
zion/src/config/config.service.ts
Lines 24 to 25 in 5b03e3e
| 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)?
Metadata
Metadata
Assignees
Labels
No labels