🐛 FIX: enable not enabled

This commit is contained in:
dexter
2022-10-10 21:52:17 +08:00
parent f9ef840213
commit aa5c429500

View File

@@ -20,7 +20,7 @@ func (p *EdgeConfig) OnEvent(event any) {
case FirstConfig:
if len(p.Origin) < 4 {
plugin.Warn("origin config error plugin disabled")
plugin.RawConfig["enabled"] = false
plugin.RawConfig["enable"] = false
} else {
switch p.Origin[:4] {
case "http":