Commit a7a8c25e authored by Diego Iván's avatar Diego Iván
Browse files

agregando variables del server

parent 30173e3d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
import * as dotenv from 'dotenv';
dotenv.config();

export class ServerConstants {
  public static readonly PORT: number = process.env.PORT
    ? parseInt(process.env.PORT)
    : 3003;
}