loadEnvVariables.js 182 B

12345
  1. import { dirname } from "path";
  2. import { fileURLToPath } from "url";
  3. const __dirname = dirname(fileURLToPath(import.meta.url));
  4. process.env.NODE_CONFIG_DIR = `${__dirname}/config`;