Implement immediate deployment, and automatically load scheduled tasks when the service starts.

This commit is contained in:
yoan
2024-08-21 16:34:28 +08:00
parent 90967fc2e1
commit f6760515e9
16 changed files with 539 additions and 238 deletions

View File

@@ -31,6 +31,8 @@ func main() {
app.OnBeforeServe().Add(func(e *core.ServeEvent) error {
domains.InitSchedule()
e.Router.GET(
"/*",
echo.StaticDirectoryHandler(ui.DistDirFS, false),