fix: use http protocols and app.hostname
This commit is contained in:
parent
10c2d58efb
commit
bd957e2bd2
2 changed files with 10 additions and 10 deletions
|
@ -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'])
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue