Fixed Tunnel version

This commit is contained in:
Adolfo Gómez García 2022-02-05 17:50:34 +01:00
parent f7cd474264
commit ba90dae5d6
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ BANDWIDTH_TIME = 10
# Commands LENGTH (all same length)
COMMAND_LENGTH = 4
VERSION = 'v1.0'
VERSION = 'v1.0.0'
# Valid commands
COMMAND_OPEN = b'OPEN'

View File

@ -72,7 +72,7 @@ class Proxy:
url,
headers={
'content-type': 'application/json',
'User-Agent': f'UDSTunnel-{consts.VERSION}',
'User-Agent': f'UDSTunnel/{consts.VERSION}',
},
)
if not r.ok: