diff --git a/install.sh b/install.sh index 53af849..6040abd 100644 --- a/install.sh +++ b/install.sh @@ -256,6 +256,8 @@ if [[ "$answer" == "y" ]]; then echo \"KEY='${key}'\" >> ${env_file} &&\ echo \"ADMIN_EMAIL='${directus_admin_email}'\" >> ${env_file} &&\ echo \"ADMIN_PASSWORD='${directus_admin_password}'\" >> ${env_file} &&\ + echo \"CORS_ENABLED='true'\" >> ${env_file} &&\ + echo \"CORS_ORIGIN='true'\" >> ${env_file} &&\ cd ${cms_folder} &&\ npm init -y &&\ npx directus bootstrap" $username