Skip to content

Commit aee99b6

Browse files
committed
fixed config file to find env variables
1 parent 7a02e9f commit aee99b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const path = require("node:path");
2-
require("dotenv").config({path: path.resolve(__dirname, "./.env")});
2+
require("dotenv").config({path: path.resolve(__dirname, "../.env")});
33

44
const PORT = process.env.PORT || 3001;
55
const DB = process.env.DB;

0 commit comments

Comments
 (0)