projeto-hit/backend/src/bootstrap.ts

6 lines
113 B
TypeScript

import dotenv from "dotenv";
dotenv.config({
path: process.env.NODE_ENV === "test" ? ".env.test" : ".env"
});