The Directus service templates were missing CORS configuration, causing preflight OPTIONS requests to fail when connecting from frontend apps. Users had to manually edit the compose file to add CORS variables. Add sensible CORS defaults (enabled with dynamic origin matching) to both directus.yaml and directus-with-postgresql.yaml templates. All values are user-overridable via the Coolify UI. Fixes #5024 |
||
|---|---|---|
| .. | ||
| compose | ||
| service-templates-latest.json | ||
| service-templates.json | ||
| test-database-detection.yaml | ||