fix reload stuck

This commit is contained in:
yusing
2025-01-02 11:30:09 +08:00
parent 2fe0b888bd
commit cd74b76483
6 changed files with 23 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ func setup() {
return
}
t := task.RootTask("error_page", true)
t := task.RootTask("error_page", false)
dirWatcher = W.NewDirectoryWatcher(t, errPagesBasePath)
loadContent()
go watchDir()