Skip to content

Commit 8b50fc4

Browse files
authored
Merge pull request #617 from getmaxun/migration
fix: define module in commonjs scope
2 parents 9a2ae8d + cc83e1a commit 8b50fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/db/config/database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import dotenv from 'dotenv';
1+
const dotenv = require('dotenv');
22
dotenv.config({ path: './.env' });
33

44
// Validate required environment variables

0 commit comments

Comments
 (0)