Skip to content

Commit

Permalink
Upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMalfait committed Oct 20, 2024
1 parent e02604c commit 40d752e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,18 @@ The `yarn command:prod upgrade-31` takes care of the data migration of all works

### Environment Variables

The following environment variables have been changed:
We have updated the way we handle the Redis connection.

- Removed: `REDIS_HOST`, `REDIS_PORT`, `REDIS_USERNAME`, `REDIS_PASSWORD`
- Added: `REDIS_URL`

Update your `.env` file to use the new `REDIS_URL` variable instead of the individual Redis connection parameters.

<ArticleEditContent></ArticleEditContent>

We have also simplifed the way we handle the JWT tokens.

- Removed: `ACCESS_TOKEN_SECRET`, `LOGIN_TOKEN_SECRET`, `REFRESH_TOKEN_SECRET`, `FILE_TOKEN_SECRET`
- Added: `APP_SECRET`

Update your `.env` file to use the new `APP_SECRET` variable instead of the individual tokens secrets (you can use the same secret as before or generate a new random string)

0 comments on commit 40d752e

Please sign in to comment.