mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 10:56:44 +00:00
fix: harden telegram bot reconnection (#6)
This commit is contained in:
parent
e3d9ae7857
commit
f2b3cb219a
3 changed files with 207 additions and 19 deletions
|
|
@ -21,7 +21,7 @@ import {
|
|||
suggestBotUsername,
|
||||
} from "@/lib/telegram-username";
|
||||
|
||||
const TOKEN_REGEX = /^\d+:[A-Za-z0-9_-]{35}$/;
|
||||
const TOKEN_REGEX = /^\d+:[A-Za-z0-9_-]+$/;
|
||||
|
||||
interface Props {
|
||||
agentName: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue