mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-11 22:30:41 +03:00
fix weburl command (#18)
This commit is contained in:
parent
c8b5639944
commit
7cfda281f7
12
README.md
12
README.md
@ -14,6 +14,18 @@ sudo systemctl start gptchatbot.service
|
||||
sudo
|
||||
```
|
||||
|
||||
### Update
|
||||
|
||||
```bash
|
||||
git pull balshgit main
|
||||
sudo rsync -a --delete --progress /home/balsh/Pycharmprojects/gpt_chat_bot/* /opt/gpt_chat_bot/ --exclude .git
|
||||
cd /opt/gpt_chat_bot/
|
||||
docker pull balshdocker/freegpt
|
||||
STAGE=production docker compose build
|
||||
sudo systemctl stop gptchatbot.service
|
||||
sudo systemctl start gptchatbot.service
|
||||
```
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
|
@ -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}")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user