feat(bot): add /dashboard command and MINI_APP_URL config

- Add /dashboard command to BotFather registration alongside /app
- Add new MINI_APP_URL env var for dashboard URL (separate from CORS origins)
- Pass MINI_APP_URL and BOT_API_URL in CD workflow
- Update Terraform with new variable for future infrastructure deployments
This commit is contained in:
2026-03-17 02:17:11 +04:00
parent 58cf69b9b6
commit fcdd0f2aaf
11 changed files with 42 additions and 7 deletions

View File

@@ -13,6 +13,9 @@ TELEGRAM_WEBHOOK_SECRET=your-webhook-secret
TELEGRAM_WEBHOOK_PATH=/webhook/telegram
# Mini app
# URL for /app and /dashboard commands (e.g., https://your-app.cloud.run)
MINI_APP_URL=https://your-miniapp-domain.com
# CORS origins for mini app API (comma-separated)
MINI_APP_ALLOWED_ORIGINS=http://localhost:5173
# Parsing / AI