diff --git a/api/main.go b/api/main.go index 7c13e30..02c395e 100644 --- a/api/main.go +++ b/api/main.go @@ -23,7 +23,7 @@ func main() { }) app.Use(limiter.New(limiter.Config{ - Max: 15, + Max: 30, Expiration: 1 * time.Minute, LimitReached: limitHandler, })) diff --git a/client/src/languages/en.json b/client/src/languages/en.json index f18d018..43dc5b0 100644 --- a/client/src/languages/en.json +++ b/client/src/languages/en.json @@ -71,7 +71,7 @@ } }, "api": { - "limit": "We limit the request to be 15 request/minute.", + "limit": "We limit the request to be 30 request/minute.", "get": { "title": "Get Jokes", "random": { diff --git a/client/src/languages/id.json b/client/src/languages/id.json index 049e6d8..2bd4f2a 100644 --- a/client/src/languages/id.json +++ b/client/src/languages/id.json @@ -71,7 +71,7 @@ } }, "api": { - "limit": "Kami membatasi request menjadi 15 request/menit.", + "limit": "Kami membatasi request menjadi 30 request/menit.", "get": { "title": "Dapatkan Jokes", "random": {