Settings
This commit is contained in:
+3
-2
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Cms\Classes\Theme;
|
||||
use GermanAirlinesVa\Graphql\Models\Settings;
|
||||
|
||||
return [
|
||||
'packages' => [
|
||||
@@ -71,7 +72,7 @@ return [
|
||||
*/
|
||||
|
||||
'cache' => [
|
||||
'enable' => false,
|
||||
'enable' => Settings::get('enable_cache', false),
|
||||
'key' => env('GRAPHQL_CACHE_KEY', 'graphql-schema'),
|
||||
'ttl' => env('GRAPHQL_CACHE_TTL', null),
|
||||
],
|
||||
@@ -189,7 +190,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'batched_queries' => true,
|
||||
'batched_queries' => Settings::get('batched_queries', true),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user