plaprox

Proxy for plausible.io scripts written in Go.
git clone git://vcs.sapka.me/plaprox
Log | Files | Refs | README | LICENSE

commit 0a120f818691e8a7ebd2d1854af2c09471549eaa
parent b483212b7033c49f16553eadaed1971be8d08c37
Author: MichaƂ M. Sapka <michal@sapka.me>
Date:   Fri, 14 Jul 2023 12:13:13 +0200

doc: indentation

Diffstat:
MREADME | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -58,7 +58,7 @@ Compiling --------- You need Go to compile Plaproxy. After that, compiling is simple: - go build + go build Note that, as for, now I do not provide binary files. You need do perform the compilation on the same OS and architecture as the target system. So, if you run @@ -69,7 +69,7 @@ Running ------- You can run the app as a process: - ./plaprox + ./plaprox But the preferred way is to treat it a demon. Please refer to documentation of your OS of choice @@ -81,4 +81,4 @@ To proxy other endpoints, you need to modify the source code. Look at method serveProxy() in main.go. Add another handleFunc for the required path, and any requests to the proxy will be handled automatically: - http.HandleFunc("/another/proxied/path.js", Proxy) + http.HandleFunc("/another/proxied/path.js", Proxy)