Skip to content

Change default config #569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
creativeeyestudio opened this issue May 30, 2025 · 1 comment
Open

Change default config #569

creativeeyestudio opened this issue May 30, 2025 · 1 comment
Labels
question Further information is requested v5 Strapi v5

Comments

@creativeeyestudio
Copy link

creativeeyestudio commented May 30, 2025

I try to change the default config adding boolean and relations, but nothing change, event when I reload. Here is my code

navigation: {
        enabled: true,
        config: {
            additionalFields: ['audience', { name: 'blank', type: 'boolean', label: 'New window' }],
            contentTypes: ['api::page.page'],
            contentTypesNameFields: {
                'api::page.page': ['title']
            },
            pathDefaultFields: {
                'api::page.page': ['slug']
            },
            allowedLevels: 2,
        }
}

What can I do to change that ?

@cyp3rius
Copy link
Contributor

To resolve the issue, please use the Restore option from the Plugin Settings. This action will overwrite the Strapi Config Store with the configuration from your file.

Keep in mind that providing configuration via a file must be done carefully, as improper formatting can cause the parsers to break. For this reason, we strongly recommend using the Settings page to manage your configuration whenever possible.

@cyp3rius cyp3rius added question Further information is requested v5 Strapi v5 labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested v5 Strapi v5
Projects
None yet
Development

No branches or pull requests

2 participants