1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps-admin.git synced 2025-03-09 15:40:05 +00:00
This commit is contained in:
Ycarus 2020-08-21 18:59:16 +02:00
parent 5541632fb4
commit c06a17d85c

View file

@ -841,7 +841,6 @@ async def status(userid: Optional[int] = Query(None), current_user: User = Depen
v2ray_tx = 0 v2ray_tx = 0
v2ray_rx = 0 v2ray_rx = 0
if os.path.isfile('/etc/v2ray/v2ray-server.json'): if os.path.isfile('/etc/v2ray/v2ray-server.json'):
v2ray_conf = omr_config_data['users'][0][username]['v2ray']
v2ray_tx = get_bytes_v2ray('tx',username) v2ray_tx = get_bytes_v2ray('tx',username)
v2ray_rx = get_bytes_v2ray('rx',username) v2ray_rx = get_bytes_v2ray('rx',username)
vpn = 'glorytun_tcp' vpn = 'glorytun_tcp'