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