feat: adjust deploy password and login limit
This commit is contained in:
@@ -50,6 +50,10 @@ func NotFound(c *gin.Context, msg string) {
|
||||
Error(c, 404, msg)
|
||||
}
|
||||
|
||||
func TooManyRequests(c *gin.Context, msg string) {
|
||||
Error(c, 429, msg)
|
||||
}
|
||||
|
||||
func ServerError(c *gin.Context, msg string) {
|
||||
Error(c, 500, msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user