We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b88d1 commit 628b844Copy full SHA for 628b844
installation/src/Model/ConfigurationModel.php
@@ -403,6 +403,12 @@ public function createConfiguration($options)
403
// Locale settings.
404
$registry->set('offset', 'UTC');
405
406
+ // CORS settings.
407
+ $registry->set('cors', false);
408
+ $registry->set('cors_allow_origin', '*');
409
+ $registry->set('cors_allow_methods', '');
410
+ $registry->set('cors_allow_headers', 'Content-Type,X-Joomla-Token');
411
+
412
// Mail settings.
413
$registry->set('mailonline', true);
414
$registry->set('mailer', 'mail');
0 commit comments