mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 12:18:11 +00:00
Project Initialization
This commit is contained in:
7
apps/edr-freight-api/src/config/app.config.ts
Normal file
7
apps/edr-freight-api/src/config/app.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs('app', () => ({
|
||||
env: process.env.NODE_ENV ?? 'development',
|
||||
port: parseInt(process.env.PORT ?? '3001', 10),
|
||||
apiPrefix: 'api',
|
||||
}));
|
||||
Reference in New Issue
Block a user