fix: add dotenv loading to migration script for production auth
This commit is contained in:
parent
1cd69829d7
commit
ccf2eac0f2
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
* configured to display in the docs.html sidebar.
|
||||
*/
|
||||
|
||||
require('dotenv').config();
|
||||
const { MongoClient } = require('mongodb');
|
||||
|
||||
const MONGO_URI = process.env.MONGO_URI || 'mongodb://localhost:27017';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue