update api cmd example

This commit is contained in:
postscriptum 2026-03-22 09:20:10 +02:00
parent 30a77072ed
commit 0b6b0ebd0e

View file

@ -20,8 +20,8 @@ RUST_LOG=psocks=trace cargo run -- -a=/path/to/allow1.txt \
```
* set `socks5://127.0.0.1:1080` proxy in your application
* open http://127.0.0.1:8010 in browser for global stats:
* http://127.0.0.1:8010/allow/domain.com - add rule to the current session
* http://127.0.0.1:8010/block/domain.com - delete rule from the current session
* `/allow/domain.com` - add rule to the current session
* `/block/domain.com` - delete rule from the current session
### Allow list example