chore: fix broken telegram links
CI / changes (pull_request) Successful in 3s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 21s
CI / ui (pull_request) Successful in 1m14s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 2m7s
CI / changes (pull_request) Successful in 3s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 21s
CI / ui (pull_request) Successful in 1m14s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 2m7s
This commit is contained in:
@@ -43,7 +43,7 @@ function envVar(name: string): string | undefined {
|
||||
}
|
||||
|
||||
/**
|
||||
* telegramBase returns the single bot's Mini App link base (e.g. https://t.me/<bot>/<app>)
|
||||
* telegramBase returns the single bot's Mini App link base (e.g. https://telegram.me/<bot>/<app>)
|
||||
* from VITE_TELEGRAM_LINK, or null when it is not configured.
|
||||
*/
|
||||
function telegramBase(): string | null {
|
||||
@@ -52,7 +52,7 @@ function telegramBase(): string | null {
|
||||
|
||||
/**
|
||||
* botUsername extracts the bot's @username (without the @) from the configured Mini App
|
||||
* link: the first path segment of https://t.me/<bot>/<app>. Returns null when no base is
|
||||
* link: the first path segment of https://telegram.me/<bot>/<app>. Returns null when no base is
|
||||
* configured or the link carries no path.
|
||||
*/
|
||||
export function botUsername(): string | null {
|
||||
|
||||
Reference in New Issue
Block a user