mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-08 03:28:50 +00:00
changed .env path of generatet file
This commit is contained in:
parent
de740f6522
commit
62436362d1
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