Skip to content

Commit

Permalink
FIX: .env updated
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBL committed Jan 22, 2024
1 parent 734329d commit 8d10076
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions server/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ REDIS_PORT=6379
REDIS_PASSWORD=password # or your salt rounds for bcrypt
GCF_GENERATE_TOKEN_ENDPOINT=https://europe-west9-fisg4-411716.cloudfunctions.net/generateToken
GCF_VERIFY_TOKEN_ENDPOINT=https://europe-west9-fisg4-411716.cloudfunctions.net/verifyToken
GCF_GET_PAYLOAD_FROM_TOKEN_ENDPOINT=https://europe-west9-fisg4-411716.cloudfunctions.net/getPayloadFromToken

GCF_GET_PAYLOAD_FROM_TOKEN_ENDPOINT=https://europe-west9-fisg4-411716.cloudfunctions.net/getPayloadFromToken
6 changes: 3 additions & 3 deletions server/db/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const redis = {
host: process.env.REDIS_HOST ?? 'redis',
port: parseInt(process.env.REDIS_PORT ?? '6379'),
password: process.env.REDIS_PASSWORD ?? 'password',
host: process.env.REDIS_HOST ?? '',
port: parseInt(process.env.REDIS_PORT ?? ''),
password: process.env.REDIS_PASSWORD ?? '',
}

0 comments on commit 8d10076

Please sign in to comment.