(Quick Reference)

1.1.5 CORS Support

Version: 3.2.3

1.1.5 CORS Support

Starting with Grails 3.2.1, we have added support to configure the CORS support provided in Spring Boot.

This feature is disabled by default. Once enabled, the default setting is "wide open". To enable CORS configuration:

application.yml
grails:
    cors:
        enabled: true

To get more information on how to tighten down these settings to match your needs, visit the section on configuring CORS.