forked from cswimr/SeaCogs
fix(pterodactyl): fixed error if base_url ends in /
This commit is contained in:
parent
af29b950c2
commit
88c77b4aa5
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:
|
||||
base_url = await config.base_url()
|
||||
base_url = base_url[:-1] if base_url.endswith('/') else base_url
|
||||
|
||||
logger.info("Establishing WebSocket connection")
|
||||
|
||||
|
|
Loading…
Reference in a new issue