FreshPixels commited on
Commit
b680a4a
·
verified ·
1 Parent(s): 7ec6f34

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +1 -1
bot.py CHANGED
@@ -112,7 +112,7 @@ async def on_startup(app: web.Application) -> None:
112
  await db.connect()
113
  logger.info("Database connected")
114
 
115
- space_host = config.SPACE_HOST or os.getenv("SPACE_HOST", "")
116
  if space_host:
117
  full_webhook_link = f"https://{space_host.strip()}{config.WEBHOOK_PATH}"
118
  for attempt in range(5):
 
112
  await db.connect()
113
  logger.info("Database connected")
114
 
115
+ space_host = os.getenv("SPACE_HOST", "")
116
  if space_host:
117
  full_webhook_link = f"https://{space_host.strip()}{config.WEBHOOK_PATH}"
118
  for attempt in range(5):