From e985be817b74f0ea5fad2b6aaf844fa403ab7ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Sat, 20 Jul 2024 10:48:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20casdoor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/casdoor/1.645.0/scripts/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/casdoor/1.645.0/scripts/init.sh b/apps/casdoor/1.645.0/scripts/init.sh index 687fe1ac..e1930597 100644 --- a/apps/casdoor/1.645.0/scripts/init.sh +++ b/apps/casdoor/1.645.0/scripts/init.sh @@ -12,7 +12,7 @@ if [ -f .env ]; then fi if [ "$DB_TYPE" == "postgres" ]; then - echo "dataSourceName=user=$DB_USER password=$DB_PASSWD host=$DB_HOSTNAME port=$DB_PORT sslmode=disable dbname=$DB_NAME" >> .env + echo "dataSourceName=\"user=$DB_USER password=$DB_PASSWD host=$DB_HOSTNAME port=$DB_PORT sslmode=disable dbname=$DB_NAME\"" >> .env fi if [ -n "$REDIS_PASSWORD" ]; then