From 2a4dd727b7efa33c192c724381d30d52a899e367 Mon Sep 17 00:00:00 2001 From: samuelreichor Date: Mon, 30 Dec 2024 20:58:36 +0100 Subject: [PATCH] Refactor example settings file --- src/config.php | 25 +++++++++++++++++++++++++ src/config/craft-query-api.php | 9 --------- 2 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 src/config.php delete mode 100644 src/config/craft-query-api.php diff --git a/src/config.php b/src/config.php new file mode 100644 index 0000000..f272d46 --- /dev/null +++ b/src/config.php @@ -0,0 +1,25 @@ + [ + // Defines the cache duration. Defaults to the cache duration defined in your general.php. + // 'cacheDuration' => 69420, + // + // Define field classes that should be excluded from the response. + // 'excludeFieldClasses' => ['nystudio107\seomatic\fields\SeoSettings']*/ + ], +]; diff --git a/src/config/craft-query-api.php b/src/config/craft-query-api.php deleted file mode 100644 index edddf9f..0000000 --- a/src/config/craft-query-api.php +++ /dev/null @@ -1,9 +0,0 @@ - 69420, - - // Define field classes that should be excluded from the response. - 'excludeFieldClasses' => ['nystudio107\seomatic\fields\SeoSettings'] -];*/