Skip to content

Commit

Permalink
Refactor example settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelreichor committed Dec 30, 2024
1 parent 41c7173 commit 2a4dd72
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
25 changes: 25 additions & 0 deletions src/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* Craft Query API config.php
*
* This file exists only as a template for the Craft Query API settings.
* It does nothing on its own.
*
* Don't edit this file, instead copy it to 'craft/config' as 'craft-query-api.php'
* and make your changes there to override default settings.
*
* Once copied to 'craft/config', this file will be multi environment aware as
* well, so you can have different settings groups for each environment, just as
* you do for 'general.php'
*/

return [
'*' => [
// 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']*/
],
];
9 changes: 0 additions & 9 deletions src/config/craft-query-api.php

This file was deleted.

0 comments on commit 2a4dd72

Please sign in to comment.