Fix .env file importing
This commit is contained in:
@@ -6,7 +6,9 @@ import payload from 'payload';
|
|||||||
|
|
||||||
// import findEventsOnDay from './helpers/findEventsOnDay';
|
// import findEventsOnDay from './helpers/findEventsOnDay';
|
||||||
|
|
||||||
dotenv.config();
|
dotenv.config({
|
||||||
|
path: path.join(__dirname, '../.env')
|
||||||
|
});
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user