mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 03:38:17 +00:00
Initial commit of edr-passenger-api alpha version
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { registerAs } from "@nestjs/config";
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs("app", () => ({
|
||||
env: process.env.NODE_ENV ?? "development",
|
||||
port: parseInt(process.env.PORT ?? "3002", 10),
|
||||
apiPrefix: "api",
|
||||
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.FRONTEND_URL ?? 'http://localhost:3000',
|
||||
portalUrl: process.env.PORTAL_URL ?? 'http://localhost:3001',
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user