fix: quote env values with spaces for safe shell sourcing

This commit is contained in:
qzl
2026-04-30 11:29:10 +08:00
parent f5f27d0496
commit 388775e05f
+3 -3
View File
@@ -65,7 +65,7 @@ ERYAO_STORAGE__RETENTION_DAYS=30
# Feedback Report
############
ERYAO_FEEDBACK_REPORT__EMAIL=support@example.com
ERYAO_FEEDBACK_REPORT__CRON=0 10 * * *
ERYAO_FEEDBACK_REPORT__CRON='0 10 * * *'
ERYAO_FEEDBACK_REPORT__ENABLED=false
############
@@ -77,7 +77,7 @@ ERYAO_EMAIL__USERNAME=robot@xunmee.com
ERYAO_EMAIL__PASSWORD=
ERYAO_EMAIL__USE_SSL=true
ERYAO_EMAIL__FROM_ADDRESS=robot@xunmee.com
ERYAO_EMAIL__FROM_NAME=Eryao 反馈系统
ERYAO_EMAIL__FROM_NAME='Eryao 反馈系统'
############
# LLM API KEY
@@ -94,7 +94,7 @@ ERYAO_POINTS_POLICY__REGISTER_BONUS_HMAC_KEY=replace-with-strong-random-key
############
# CORS 配置
############
ERYAO_CORS__ALLOW_ORIGINS=["http://localhost", "http://localhost:3000"]
ERYAO_CORS__ALLOW_ORIGINS='["http://localhost", "http://localhost:3000"]'
############
# Test相关