atconnect: Node.JS bugfix; atserver: address bugfix

This commit is contained in:
DarkCat09 2022-12-27 16:55:19 +04:00
parent 7662f02d9c
commit 89608142fb
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ REQUA = \
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 ' \
'(KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36 OPR/85.0.4341.47'
ARROW_FN_REGEX = r'\(\(\)(.*?)\)\(\);'
ARROW_FN_REGEX = r'\(\(\).*?\)\(\);'
SCRIPT_TAG_REGEX = (
rb'<script type=([\'"]?)text/javascript\1>.+?</script>'
)

View file

@ -299,7 +299,7 @@ class AternosServer:
Server address
"""
return self._info['displayAddress']
return f'{self.domain}:{self.port}'
@property
def domain(self) -> str:

View file

@ -5,7 +5,7 @@ with open('README.md', 'rt') as readme:
setuptools.setup(
name='python-aternos',
version='2.1.4',
version='2.2.0',
author='Chechkenev Andrey (@DarkCat09)',
author_email='aacd0709@mail.ru',
description='An unofficial Aternos API',