fix: add dotenv loading to migration script for production auth
This commit is contained in:
parent
4d086831c1
commit
0b5d5cd3dd
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