修复 ignore 与 not found 结果不一致的问题

This commit is contained in:
dragon
2025-05-09 15:50:37 +08:00
parent b6570dea4c
commit 3467519d7a
2 changed files with 6 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ func (m *PageMetaContent) From(data string) error {
return err
}
func (m *PageMetaContent) IsIgnore(path string) bool {
func (m *PageMetaContent) IgnorePath(path string) bool {
for _, g := range m.ignoreL {
if g.Match(path) {
return true