优化 casdoor

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-07-20 10:48:49 +08:00
parent 3b997a673a
commit e985be817b

View File

@ -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