mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 21:20:57 +00:00
10 lines
383 B
TypeScript
10 lines
383 B
TypeScript
import { registerAs } from '@nestjs/config';
|
|
|
|
export default registerAs('app', () => ({
|
|
port: parseInt(process.env.PORT ?? '4000', 10),
|
|
jwtSecret: process.env.JWT_SECRET ?? 'dev-secret',
|
|
jwtExpiresIn: process.env.JWT_EXPIRES_IN ?? '7d',
|
|
frontendUrl: process.env.PORTAL_URL ?? 'http://localhost:3000',
|
|
portalUrl: process.env.BACK_OFFICE_URL ?? 'http://localhost:3001',
|
|
}));
|