nanoppa commited on
Commit
7bc6a1e
·
verified ·
1 Parent(s): ae25738

Update w_env.ts

Browse files
Files changed (1) hide show
  1. w_env.ts +6 -6
w_env.ts CHANGED
@@ -7,12 +7,12 @@ const __dirname = path.dirname(__filename);
7
  const envPath = path.resolve(__dirname, "../config/.env");
8
 
9
  export function setupEnvironment() {
10
- const result = dotenv.config({ path: envPath });
11
- if (result.error) {
12
- throw new Error(
13
- `Failed to load .env file from ${envPath}: ${result.error.message}`
14
- );
15
- }
16
 
17
  if (!process.env.GOOGLE_API_KEY) {
18
  throw new Error(
 
7
  const envPath = path.resolve(__dirname, "../config/.env");
8
 
9
  export function setupEnvironment() {
10
+ //const result = dotenv.config({ path: envPath });
11
+ //if (result.error) {
12
+ // throw new Error(
13
+ // `Failed to load .env file from ${envPath}: ${result.error.message}`
14
+ // );
15
+ //}
16
 
17
  if (!process.env.GOOGLE_API_KEY) {
18
  throw new Error(