From 0e46ad8168598a149695959f7cc0aff8276dffdd Mon Sep 17 00:00:00 2001 From: Valentin Date: Sat, 24 Feb 2024 14:22:05 +0100 Subject: [PATCH] directus tmux et caddy 9 --- install.sh | 2 ++ 1 file changed, 2 insertions(+) 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