Skip to content

Commit 35d3f02

Browse files
committed
chore: add JWT expiry configuration to .env.example
- Added optional JWT_EXPIRY_HOURS setting. - Defaults to 1 hour if not specified.
1 parent 910c1c8 commit 35d3f02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
# Generate a secure key using: dart pub global run dcli_scripts create_key
1212
# JWT_SECRET_KEY="your-super-secret-and-long-jwt-key"
1313

14+
# OPTIONAL: The duration for which a JWT is valid, in hours.
15+
# Defaults to 1 hour if not specified.
16+
# JWT_EXPIRY_HOURS="1"
17+
1418
# REQUIRED FOR PRODUCTION: The specific origin URL of your web client.
1519
# This allows the client (e.g., the HT Dashboard) to make requests to the API.
1620
# For local development, this can be left unset as 'localhost' is allowed by default.

0 commit comments

Comments
 (0)