fix: use http protocols and app.hostname

This commit is contained in:
Macintxsh 2025-05-21 03:54:25 +03:00
parent 10c2d58efb
commit bd957e2bd2
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
2 changed files with 10 additions and 10 deletions

View file

@ -53,7 +53,7 @@ async def answer_query(update: Update, query: str, data) -> None:
keyboard = [
[
InlineKeyboardButton(f"Open in {app.name}",
url=f"https://{app.hostname}/posts/{query}"),
url=f"http://{app.hostname}/posts/{query}"),
InlineKeyboardButton("View original", url=data['file_url'])
]
]