修复重定向问题

This commit is contained in:
ExplodingDragon
2025-11-21 21:29:58 +08:00
parent 01500f0101
commit ff45595fd2
4 changed files with 25 additions and 30 deletions

View File

@@ -70,6 +70,9 @@ func main() {
log.Fatalln(err)
}
defer event.Close()
if config.Filters == nil {
config.Filters = map[string]map[string]any{}
}
pageServer, err := pkg.NewPageServer(
http.DefaultClient,
backend,