mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +00:00
fixed jwt token issue in install script
This commit is contained in:
parent
a4ecf10067
commit
511cf5e45a
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue