mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 19:18:51 +00:00
fixed jwt token issue in install script
This commit is contained in:
parent
7093e6bd9a
commit
de740f6522
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 jwtSecret: string = crypto.randomBytes(32).toString("hex"); // 64 Zeichen
|
||||||
const env: string = `DATABASE_URL="postgresql://${postgresUser}:${postgresPassword}@localhost:5432/prisma"
|
const env: string = `DATABASE_URL="postgresql://${postgresUser}:${postgresPassword}@localhost:5432/prisma"
|
||||||
JWT_SECRET="${jwtSecret}"
|
TOKEN_SECRET="${jwtSecret}"
|
||||||
DB_USER="${postgresUser}"
|
DB_USER="${postgresUser}"
|
||||||
DB_PASSWORD="${postgresPassword}"`;
|
DB_PASSWORD="${postgresPassword}"`;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue