first commit
This commit is contained in:
7
src/config/app.config.ts
Normal file
7
src/config/app.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs('app', () => ({
|
||||
nodeEnv: process.env.NODE_ENV || 'development',
|
||||
port: parseInt(process.env.PORT, 10) || 3000,
|
||||
maxMatchesBeforePause: parseInt(process.env.MAX_MATCHES_BEFORE_PAUSE, 10) || 10,
|
||||
}));
|
||||
Reference in New Issue
Block a user