mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
feat(graphql): change complexity max value (#1193)
This commit is contained in:
@@ -19,7 +19,7 @@ class MaxCount
|
||||
Config::set('lighthouse.pagination.default_count', $this->isLocal($request) ? 1000000 : 15);
|
||||
Config::set('lighthouse.pagination.max_count', $this->isLocal($request) ? null : 100);
|
||||
|
||||
Config::set('lighthouse.security.max_query_complexity', $this->isLocal($request) ? QueryComplexity::DISABLED : 250);
|
||||
Config::set('lighthouse.security.max_query_complexity', $this->isLocal($request) ? QueryComplexity::DISABLED : 10000);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user