changed .env path of generatet file

This commit is contained in:
Kai Ritthaler 2025-05-15 17:15:40 +02:00 committed by Rudi Regentonne
parent 511cf5e45a
commit aa3f86d05b

View file

@ -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);