File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,10 +201,10 @@ func main() {
201
201
app .Delete ("/:bucket/*" , AuthMiddleware , imageHandler .DeleteImage )
202
202
}
203
203
204
- // Upload endpoints with stricter rate limit - 10 requests per minute
204
+ // Upload endpoints with stricter rate limit - 50 requests per minute
205
205
if ! disableUpload {
206
206
uploadGroup := app .Group ("/" )
207
- uploadGroup .Use (middleware .NewAdvancedRateLimiter (10 , time .Minute ))
207
+ uploadGroup .Use (middleware .NewAdvancedRateLimiter (50 , time .Minute ))
208
208
uploadGroup .Post ("/upload" , AuthMiddleware , imageHandler .UploadImage )
209
209
uploadGroup .Post ("/upload-url" , AuthMiddleware , imageHandler .UploadWithUrl )
210
210
uploadGroup .Post ("/batch/upload" , AuthMiddleware , imageHandler .BatchUpload )
You can’t perform that action at this time.
0 commit comments