diff --git a/template/render_route.go b/template/render_route.go index cb82fdb..6343e5d 100644 --- a/template/render_route.go +++ b/template/render_route.go @@ -155,7 +155,7 @@ func (t *Template) renderRoute(metadata M.Metadata, options *option.Options) err }, }) } - if disableRuleAction { + if !disableRuleAction { options.Route.Rules = append(options.Route.Rules, option.Rule{ Type: C.RuleTypeDefault, DefaultOptions: option.DefaultRule{