🐛 Fix preheat didn't run yet
All checks were successful
release-nightly / build-docker (push) Successful in 1m7s

This commit is contained in:
2023-12-13 13:16:00 +08:00
parent 426af568dc
commit eae2b12764
3 changed files with 14 additions and 2 deletions

View File

@ -40,6 +40,7 @@ func doSyncSite(c *fiber.Ctx) error {
// Reload
sign.ReadInConfig(viper.GetString("paths.configs"))
sign.App.PreheatProcesses(func(total int, success int) {})
return c.SendStatus(fiber.StatusOK)
}