fix weburl command (#18)

This commit is contained in:
Dmitry Afanasyev
2023-09-28 18:43:27 +03:00
committed by GitHub
parent c8b5639944
commit 7cfda281f7
2 changed files with 13 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ async def about_bot(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
async def website(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
if not update.effective_message:
return None
website = urljoin(settings.DOMAIN, f"{settings.URL_PREFIX}/chat")
website = urljoin(settings.DOMAIN, f"{settings.URL_PREFIX}/chat/")
await update.effective_message.reply_text(f"Веб версия: {website}")