An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix dangerous cors config for directus service
ShadowArcanistfa73d45b41e0
diff --git a/templates/compose/directus.yaml b/templates/compose/directus.yamlindex 5c02ab1a34..1648f7e3d6 100644--- a/templates/compose/directus.yaml+++ b/templates/compose/directus.yaml@@ -23,7 +23,7 @@ services:- DB_FILENAME=/directus/database/data.db- WEBSOCKETS_ENABLED=true- CORS_ENABLED=${CORS_ENABLED:-true}- - CORS_ORIGIN=${CORS_ORIGIN:-true}+ - CORS_ORIGIN=${CORS_ORIGIN}- CORS_METHODS=${CORS_METHODS:-GET,POST,PATCH,DELETE,OPTIONS}- CORS_ALLOWED_HEADERS=${CORS_ALLOWED_HEADERS:-Content-Type,Authorization}- CORS_CREDENTIALS=${CORS_CREDENTIALS:-true}