forked from mirror/serenity
Fix generate resolve action
This commit is contained in:
parent
4dd3530210
commit
ea777c25b0
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user