Load .env in seed script (ADMIN_USER/PASS/UPLOAD_DIR)
This commit is contained in:
1 parent
2c71a6bd39
commit
bf7930fc20
1 file changed
+1
@@ -1,3 +1,4 @@
|
||||
import 'dotenv/config';
|
||||
import bcrypt from 'bcryptjs';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { dirname, join } from 'node:path';
|
||||
|
||||
Reference in new issue
Block a user