mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-03-03 13:43:15 +03:00
修复流量信息的处理 reset 参数无效问题
This commit is contained in:
parent
4f761eb565
commit
037f8ed90a
@ -71,7 +71,7 @@ _XRAY=/usr/local/bin/xray
|
||||
apidata () {
|
||||
local ARGS=
|
||||
if [[ $1 == "reset" ]]; then
|
||||
ARGS="reset: true"
|
||||
ARGS="-reset=true"
|
||||
fi
|
||||
$_XRAY api statsquery --server=$_APISERVER "${ARGS}" \
|
||||
| awk '{
|
||||
|
Loading…
x
Reference in New Issue
Block a user