Initial git settings on frontend

This commit is contained in:
2024-09-28 15:35:52 +02:00
parent 0558ea292b
commit 4290119b93
4 changed files with 133 additions and 35 deletions

View File

@@ -20,7 +20,7 @@ func SetupRoutes(r chi.Router, db *db.DB, fs *filesystem.FileSystem) {
r.Delete("/*", DeleteFile(fs))
})
r.Route("/git", func(r chi.Router) {
r.Post("commit", StageCommitAndPush(fs))
r.Post("/commit", StageCommitAndPush(fs))
r.Post("/pull", PullChanges(fs))
})
})