mirror of
https://github.com/whekin/household-bot.git
synced 2026-04-01 04:54:03 +00:00
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:
@@ -24,7 +24,9 @@ const DEFAULT_COMMAND_NAMES = [
|
||||
const PRIVATE_CHAT_COMMAND_NAMES = [
|
||||
...DEFAULT_COMMAND_NAMES,
|
||||
'anon',
|
||||
'cancel'
|
||||
'cancel',
|
||||
'app',
|
||||
'dashboard'
|
||||
] as const satisfies readonly TelegramCommandName[]
|
||||
const GROUP_CHAT_COMMAND_NAMES = DEFAULT_COMMAND_NAMES
|
||||
const GROUP_MEMBER_COMMAND_NAMES = [
|
||||
|
||||
Reference in New Issue
Block a user