From f242be6e730c88043ee4ada46701d17916489576 Mon Sep 17 00:00:00 2001 From: qydysky Date: Tue, 6 Aug 2024 11:03:20 +0800 Subject: [PATCH] Update http.go --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.go b/http.go index 9a98c01..55dbc08 100644 --- a/http.go +++ b/http.go @@ -31,7 +31,7 @@ func httpDealer(ctx context.Context, w http.ResponseWriter, r *http.Request, rou url := chosenBack.To if chosenBack.PathAdd() { - url += r.RequestURI + url += path.Base(r.RequestURI) } url = "http" + url -- 2.39.2