Added github branch fetching
This commit is contained in:
@@ -13,6 +13,8 @@ func Register(app *fiber.App, cfg *config.Config) {
|
||||
api := app.Group("/api")
|
||||
api.Get("/health", handlers.HealthCheck)
|
||||
|
||||
api.Post("/update", handlers.NewUpdateSiteHandler(cfg))
|
||||
|
||||
storagePath, err := filepath.Abs(cfg.Global.StoragePath)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to resolve storage path: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user