mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +00:00
changed .env path of generatet file
This commit is contained in:
parent
511cf5e45a
commit
aa3f86d05b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ TOKEN_SECRET="${jwtSecret}"
|
||||||
DB_USER="${postgresUser}"
|
DB_USER="${postgresUser}"
|
||||||
DB_PASSWORD="${postgresPassword}"`;
|
DB_PASSWORD="${postgresPassword}"`;
|
||||||
try {
|
try {
|
||||||
fs.writeFileSync("./scripts/.env", env);
|
fs.writeFileSync(".env", env);
|
||||||
console.log("File has been written successfully.");
|
console.log("File has been written successfully.");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Error writing to file:", err);
|
console.error("Error writing to file:", err);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue