mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-03-09 15:40:05 +00:00
Fix
This commit is contained in:
parent
5541632fb4
commit
c06a17d85c
1 changed files with 0 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue