From 0b6b0ebd0e849f1a1031c886fab9ed8c488810f2 Mon Sep 17 00:00:00 2001 From: postscriptum Date: Sun, 22 Mar 2026 09:20:10 +0200 Subject: [PATCH] update api cmd example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f0dd2e..1dfb4bd 100644 --- a/README.md +++ b/README.md @@ -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