Lowering search rate limit. Fixes #2153

This commit is contained in:
Dessalines 2022-03-24 11:50:34 -04:00
parent f6b543ae0f
commit 5e47231363

View file

@ -29,7 +29,7 @@ pub fn config(cfg: &mut web::ServiceConfig, rate_limit: &RateLimit) {
)
.service(
web::resource("/search")
.wrap(rate_limit.message())
.wrap(rate_limit.comment())
.route(web::get().to(route_get::<Search>)),
)
.service(