feat(backend): add Open Food Facts authentication support
- Add OFF_USERNAME and OFF_PASSWORD env vars - Use Basic Auth when credentials are provided - Improves rate limits for authenticated requests - Auth is optional (works without credentials)
This commit is contained in:
@@ -19,3 +19,8 @@ VAPID_SUBJECT=mailto:admin@example.com
|
||||
# Expo Push Notifications (mobile). Get token from:
|
||||
# https://expo.dev/accounts/[username]/settings/access-tokens
|
||||
EXPO_ACCESS_TOKEN=
|
||||
|
||||
# Open Food Facts (optional, improves rate limits)
|
||||
# Register at: https://world.openfoodfacts.org/
|
||||
OFF_USERNAME=
|
||||
OFF_PASSWORD=
|
||||
|
||||
Reference in New Issue
Block a user