Configuring CORS
The Cross-Origin Resource Sharing (CORS) settings can be found in the config.json
file in the API backend directory. If the file does not exist, create one using this template file as a template.
Edit the content of the file to show (adjusting the values accordingly):
Allowing any domain from a list
Allowing any origin
CAUTION: This configuration is not recommended as it relaxes the security rules for your instance, but it can be handy for debugging purposes. {: .fw-700 .p-2 .text-red-200 .bg-yellow-100 }