mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-16 21:20:39 +03:00
queue not working
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
from os import environ
|
||||
from pathlib import Path
|
||||
|
||||
@@ -42,6 +43,10 @@ class Settings(BaseSettings):
|
||||
# Enable uvicorn reloading
|
||||
RELOAD: bool = False
|
||||
|
||||
@property
|
||||
def bot_webhook_url(self) -> str:
|
||||
return os.path.join(self.WEBHOOK_PATH.strip('/'), self.TELEGRAM_API_TOKEN)
|
||||
|
||||
class Config:
|
||||
case_sensitive = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user