mirror of https://github.com/telemt/telemt.git
[FAQ] change output of user's links more to more user-friendly look
Currently output of existing method for obtaining proxy links of users is cluttered and messy, let's change it to a more clean and precise one
This commit is contained in:
parent
14674bd4e6
commit
f5e63ab145
|
|
@ -150,7 +150,7 @@ systemctl daemon-reload
|
||||||
|
|
||||||
**7.** To get the link(s), enter:
|
**7.** To get the link(s), enter:
|
||||||
```bash
|
```bash
|
||||||
curl -s http://127.0.0.1:9091/v1/users | jq
|
curl -s http://127.0.0.1:9091/v1/users | jq -r '.data[] | "User: \(.username)\n\(.links.tls[0] // empty)"'
|
||||||
```
|
```
|
||||||
|
|
||||||
> Any number of people can use one link.
|
> Any number of people can use one link.
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@ systemctl daemon-reload
|
||||||
|
|
||||||
**7.** Для получения ссылки/ссылок введите
|
**7.** Для получения ссылки/ссылок введите
|
||||||
```bash
|
```bash
|
||||||
curl -s http://127.0.0.1:9091/v1/users | jq
|
curl -s http://127.0.0.1:9091/v1/users | jq -r '.data[] | "User: \(.username)\n\(.links.tls[0] // empty)"'
|
||||||
```
|
```
|
||||||
> Одной ссылкой может пользоваться сколько угодно человек.
|
> Одной ссылкой может пользоваться сколько угодно человек.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue