From 35067a43293707842514cecec90a9f583e4b0b16 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Tue, 1 Apr 2025 07:11:43 +0200 Subject: [PATCH] Fix next rule goto --- http.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http.go b/http.go index 35fb401..7b5745f 100644 --- a/http.go +++ b/http.go @@ -84,7 +84,6 @@ func (state *State) handleRequest(w http.ResponseWriter, r *http.Request) { } for _, rule := range state.Rules { - nextRule: if out, _, err := rule.Program.Eval(env); err != nil { //TODO error panic(err) @@ -150,6 +149,8 @@ func (state *State) handleRequest(w http.ResponseWriter, r *http.Request) { } } } + + nextRule: } state.Backend.ServeHTTP(w, r)