mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-04-01 00:45:27 +00:00
create namespace for json api; make temporarily index page reference to api/totals
This commit is contained in:
parent
24cbc3012e
commit
06228c577f
2 changed files with 15 additions and 7 deletions
|
|
@ -26,8 +26,8 @@ RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \
|
|||
```
|
||||
* set `socks5://127.0.0.1:1080` proxy in your application
|
||||
* open http://127.0.0.1:8010 in browser for stats:
|
||||
* `/allow/domain.com` - add rule to the current session (and `--cache` if defined)
|
||||
* `/block/domain.com` - delete rule from the current session (and `--cache` if defined)
|
||||
* `/api/allow/domain.com` - add rule to the current session (and `--cache` if defined)
|
||||
* `/api/block/domain.com` - delete rule from the current session (and `--cache` if defined)
|
||||
|
||||
### Allow list example
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue