Add credits

This commit is contained in:
2020-10-09 17:40:38 +02:00
parent e725c30cf8
commit 5ca46b9cbd
3 changed files with 10 additions and 3 deletions

View File

@@ -22,3 +22,9 @@ func UploadName(pool *pgxpool.Pool) gin.HandlerFunc {
c.Redirect(302, "/")
}
}
func Credits() gin.HandlerFunc {
return func(c *gin.Context) {
c.HTML(http.StatusAccepted, "credits.html", gin.H{"version":"1.0"})
}
}