mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Refactoring: simplify version generation. Rename API to /api/version. #167
This commit is contained in:
+2
-1
@@ -16,8 +16,9 @@ func Router(c *ctx.AptlyContext) http.Handler {
|
||||
router.Use(gin.ErrorLogger())
|
||||
|
||||
root := router.Group("/api")
|
||||
|
||||
{
|
||||
root.GET("/", apiVersion)
|
||||
root.GET("/version", apiVersion)
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user