Skip to content

Commit

Permalink
Minor patches!
Browse files Browse the repository at this point in the history
  • Loading branch information
Tech-TTGames committed Nov 29, 2024
1 parent 9a3ce48 commit e8e3029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tickets_plus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ async def start_bot(stat_data: config.MiniConfig = config.MiniConfig()) -> None:
if tkn is None or tkn in frbddn:
raise ValueError("API Auth token not set.")
logging.info("SSL cert and key loaded. Starting API...")
api_routes.listen(443, protocol="https", ssl_options=tls_ctx)
api_routes.listen(stat_data.getitem("https_port"), protocol="https", ssl_options=tls_ctx)
# pylint: disable=broad-exception-caught # skipcq: PYL-W0718
except Exception as exc:
logging.exception("API setup failed. Aborting startup.")
Expand Down

0 comments on commit e8e3029

Please sign in to comment.