add badges

This commit is contained in:
Stanislaw
2023-01-21 02:10:32 +01:00
parent fa0ae10a7f
commit 4c33520f46
7 changed files with 41 additions and 12 deletions

View File

@@ -13,5 +13,5 @@ func GetSplash(c *gin.Context) {
if err != nil {
c.JSON(404, "Not found")
}
c.JSON(200, SplashList[rand.Intn(len(SplashList)-1-0+1)+0])
c.JSON(200, SplashList[rand.Intn(len(SplashList))])
}