17 lines
290 B
Go
17 lines
290 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
|
|
"git.sr.ht/~cwpearson/replicate-jump-server/config"
|
|
)
|
|
|
|
func AboutGet(c echo.Context) error {
|
|
return c.JSON(http.StatusOK, map[string]string{
|
|
"version": config.GitSHA(),
|
|
"build-date": config.BuildDate(),
|
|
})
|
|
}
|