From 1e14edc0b7d35e715530e99773c1ed42e46f9e90 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Wed, 20 Oct 2021 23:47:41 +0800 Subject: [PATCH] update --- core/otto.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/otto.go b/core/otto.go index 5e6a86a..e82b524 100644 --- a/core/otto.go +++ b/core/otto.go @@ -115,6 +115,9 @@ func init123() { if v.IsDir() { continue } + if !strings.Contains(v.Name(), ".js") { + continue + } jr := string("develop/replies/" + v.Name()) data := "" if strings.Contains(jr, "http") {