diff --git a/pkg/notify/send.go b/pkg/notify/send.go index 699194e..4ed5cd5 100644 --- a/pkg/notify/send.go +++ b/pkg/notify/send.go @@ -35,7 +35,7 @@ func (b *BodyData) ParsingTemplate() (err error) { buf bytes.Buffer ) - tmpl, err := template.ParseFiles("./pkg/notify/template/email.html") + tmpl, err := template.ParseFiles("./static/template/email.html") if err != nil { return } diff --git a/pkg/notify/template/email.html b/static/template/email.html similarity index 100% rename from pkg/notify/template/email.html rename to static/template/email.html