refactor(server): rename PORT to NODE_PORT (#10193)
Updated the environment variable name from PORT to NODE_PORT for more clarity and alignment with node server conventions. Adjusted references in configuration and application bootstrap accordingly. Fix #10017
This commit is contained in:
@ -747,12 +747,12 @@ export class EnvironmentVariables {
|
||||
|
||||
@EnvironmentVariablesMetadata({
|
||||
group: EnvironmentVariablesGroup.ServerConfig,
|
||||
description: 'Port for the backend server',
|
||||
description: 'Port for the node server',
|
||||
})
|
||||
@CastToPositiveNumber()
|
||||
@IsNumber()
|
||||
@IsOptional()
|
||||
PORT = 3000;
|
||||
NODE_PORT = 3000;
|
||||
|
||||
@EnvironmentVariablesMetadata({
|
||||
group: EnvironmentVariablesGroup.ServerConfig,
|
||||
|
||||
Reference in New Issue
Block a user