mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-05-23 06:25:27 +00:00
eb0f79be82
- remove MONGODB_URI from .env.example (Atlas migration done; deleted from Vercel cloud env too) - trim .env.deploy.example to vars actually consumed by deploy scripts (Upstash creds were only needed by the now-deleted migration script) - README config table: drop ENV / SOURCE_COMMIT / SCHEDULE_CHECK_APP_TIME (never read by code; Java-era leftovers) - check-secret-leaks: drop MONGODB_URI; add UPSTASH/KV/CRON tokens; widen scan roots to include api/ - add scripts/list-upstash-keys.js read-only ops helper
12 lines
457 B
Bash
12 lines
457 B
Bash
# Operator-only file: holds the credentials the deploy scripts need.
|
|
# Copy to .env.deploy and fill in. NEVER commit .env.deploy.
|
|
|
|
# Telegram (must match values set as Vercel env vars).
|
|
# Used by: scripts/register-webhook.js, scripts/set-bot-description.js
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_WEBHOOK_SECRET=
|
|
|
|
# Where Telegram should send webhook updates.
|
|
# Format: https://<your-vercel-url>/api/webhook
|
|
WORKER_URL=https://store-scraper-bot.vercel.app/api/webhook
|