Store the serialized cookie jar in Upstash Redis after login and restore it on instance start, so serverless cold starts reuse the session instead of re-authenticating. Falls back to the previous in-memory behavior when Redis is not configured or unavailable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
10 lines
458 B
Plaintext
10 lines
458 B
Plaintext
MOVIE_DB_TOKEN=YOUR_TOKEN
|
|
PIRATE_BAY_HOST=https://thepiratebay10.org
|
|
YTS_HOST=https://yts.mx/api/v2/list_movies.json
|
|
TOLOKA_HOST=https://toloka.to
|
|
TOLOKA_USERNAME=your_toloka_username
|
|
TOLOKA_PASSWORD=your_toloka_password
|
|
NEXT_PUBLIC_TORRENT_PROXY=http://localhost:8090
|
|
# Optional: persists the Toloka session across serverless cold starts (falls back to in-memory)
|
|
UPSTASH_REDIS_REST_URL=https://your-db.upstash.io
|
|
UPSTASH_REDIS_REST_TOKEN=your_upstash_token |