Skip to content

Commit

Permalink
remove VERSION env dependency from server
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Apr 6, 2023
1 parent ba6ca4d commit b4381a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion server/src/config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { registerAs } from '@nestjs/config';

export default registerAs('app', () => ({
timezone: process.env.TZ,
version: process.env.VERSION,
environment: process.env.NODE_ENV,
secretKey: process.env.SECRET_KEY,
port: parseInt(process.env.PORT, 10) || 3100,
Expand Down
1 change: 0 additions & 1 deletion server/src/config/config.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const validationSchema = Joi.object({
// App
TZ: Joi.string().default('UTC'),
PORT: Joi.number().default(3100),
VERSION: Joi.string().required(),
SECRET_KEY: Joi.string().required(),
NODE_ENV: Joi.string().valid('development', 'production').default('development'),

Expand Down

0 comments on commit b4381a2

Please sign in to comment.