I try to save the API Token key on chatbrew plug-in, but I got an error message " Failed to save Strapi Token", I already modify the file config/middlewares.js:
name: 'strapi::security',
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
'connect-src': ["'self'", 'https:'],
Thanks in advance!
Strapi Version: 5.12.6 (node v20.11.1)