fixed jwt token issue in install script

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

View file

@ -29,7 +29,7 @@ while (!postgresPassword) {
}
const jwtSecret: string = crypto.randomBytes(32).toString("hex"); // 64 Zeichen
const env: string = `DATABASE_URL="postgresql://${postgresUser}:${postgresPassword}@localhost:5432/prisma"
JWT_SECRET="${jwtSecret}"
TOKEN_SECRET="${jwtSecret}"
DB_USER="${postgresUser}"
DB_PASSWORD="${postgresPassword}"`;
try {