Add Pterodactyl cog #19
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ from pterodactyl.pterodactyl import Pterodactyl
|
||||||
|
|
||||||
async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
||||||
base_url = await config.base_url()
|
base_url = await config.base_url()
|
||||||
|
base_url = base_url[:-1] if base_url.endswith('/') else base_url
|
||||||
|
|
||||||
logger.info("Establishing WebSocket connection")
|
logger.info("Establishing WebSocket connection")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue