From 564147a1c7dd6094eeefbd5d264a56ad51e62fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=B9=E6=9E=97=E9=87=8C=E6=9C=89=E5=86=B0?= Date: Thu, 5 Oct 2023 23:56:09 +0800 Subject: [PATCH] fix: SITE_PASSWORD variable is well handled (#441) Co-authored-by: Penggeor --- hack/docker-env-replace.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/docker-env-replace.sh b/hack/docker-env-replace.sh index 48c40eadd..08c31af9f 100644 --- a/hack/docker-env-replace.sh +++ b/hack/docker-env-replace.sh @@ -22,7 +22,7 @@ for file in $(find ./dist -type f -name "*.mjs"); do s/({}).HEAD_SCRIPTS/\"$head_scripts\"/g; s/({}).PUBLIC_SECRET_KEY/\"$public_secret_key\"/g; s/({}).OPENAI_API_MODEL/\"$openai_api_model\"/g; - s/process.env.SITE_PASSWORD/\"$site_password\"/g" $file > tmp + s/({}).SITE_PASSWORD/\"$site_password\"/g" $file > tmp mv tmp $file done