mirror of https://github.com/telemt/telemt.git
Merge pull request #651 from groozchique/flow
[FAQ] More user-friendly output when obtaining proxy links
This commit is contained in:
commit
f8cfd4f0bc
|
|
@ -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