diff --git a/main.go b/main.go index ba3fe61..f188d46 100644 --- a/main.go +++ b/main.go @@ -10,6 +10,7 @@ import ( "go.elara.ws/logger" "go.elara.ws/logger/log" "lure.sh/lure/pkg/loggerctx" + "lure.sh/lure/pkg/repos" ) //go:embed static @@ -27,6 +28,11 @@ func main() { ctx := loggerctx.With(context.Background(), log.Logger) + err := repos.Pull(ctx, nil) + if err != nil { + log.Fatal("Error pulling repos").Err(err).Send() + } + registerBadge(mux) registerSite(mux) registerAPI(mux)