mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 10:18:59 +02:00
add rule.on directives "cookie", "form", "postform"
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"strings"
|
||||
|
||||
E "github.com/yusing/go-proxy/internal/error"
|
||||
"github.com/yusing/go-proxy/internal/logging"
|
||||
gphttp "github.com/yusing/go-proxy/internal/net/http"
|
||||
"github.com/yusing/go-proxy/internal/net/http/reverseproxy"
|
||||
"github.com/yusing/go-proxy/internal/net/types"
|
||||
@@ -225,9 +224,6 @@ func buildCmd(executors []*CommandExecutor) (*CommandExecutor, error) {
|
||||
return &CommandExecutor{
|
||||
HandlerFunc: func(w http.ResponseWriter, r *http.Request) {
|
||||
for _, exec := range executors {
|
||||
logging.Debug().
|
||||
Str("directive", exec.directive).
|
||||
Msg("executing command")
|
||||
exec.HandlerFunc(w, r)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user