|
12 | 12 | # JWT_SECRET_KEY="your-super-secret-and-long-jwt-key" |
13 | 13 |
|
14 | 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" |
| 15 | +# Defaults to 720 hour (1 month) if not specified. |
| 16 | +# JWT_EXPIRY_HOURS="720" |
17 | 17 |
|
18 | 18 | # REQUIRED FOR PRODUCTION: The specific origin URL of your web client. |
19 | 19 | # This allows the client (e.g., the HT Dashboard) to make requests to the API. |
|
34 | 34 | # Use "https://api.eu.sendgrid.com" for EU-based accounts. |
35 | 35 | # SENDGRID_API_URL="https://api.sendgrid.com" |
36 | 36 |
|
37 | | -# ADMIN OVERRIDE: Sets the single administrator account for the application. |
| 37 | +# REQUIRED: Sets the single administrator account for the application. |
38 | 38 | # On server startup, the system ensures that the user with this email is the |
39 | 39 | # one and only administrator. |
40 | 40 | # - If no admin exists, one will be created with this email. |
|
44 | 44 | # This provides a secure way to set or recover the admin account. |
45 | 45 | # OVERRIDE_ADMIN_EMAIL="admin@example.com" |
46 | 46 |
|
47 | | -# OPTIONAL: Configure API request limits to prevent abuse. |
48 | | -# The application provides sensible defaults if these are not set. |
49 | | -# |
50 | | -# Limit for the /auth/request-code endpoint (requests per window). |
| 47 | + |
| 48 | +# OPTIONAL: Limit for the /auth/request-code endpoint (requests per window). |
51 | 49 | # RATE_LIMIT_REQUEST_CODE_LIMIT=3 |
52 | | -# Window for the /auth/request-code endpoint, in hours. |
| 50 | + |
| 51 | +# OPTIONAL: Window for the /auth/request-code endpoint, in hours. |
53 | 52 | # RATE_LIMIT_REQUEST_CODE_WINDOW_HOURS=24 |
54 | | -# |
55 | | -# Limit for the generic /data API endpoints (requests per window). |
| 53 | + |
| 54 | +# OPTIONAL: Limit for the generic /data API endpoints (requests per window). |
56 | 55 | # RATE_LIMIT_DATA_API_LIMIT=1000 |
57 | | -# Window for the /data API endpoints, in minutes. |
| 56 | + |
| 57 | +# OPTIONAL: Window for the /data API endpoints, in minutes. |
58 | 58 | # RATE_LIMIT_DATA_API_WINDOW_MINUTES=60 |
0 commit comments