Skip to content

Commit

Permalink
fix: SITE_PASSWORD variable is well handled (anse-app#441)
Browse files Browse the repository at this point in the history
Co-authored-by: Penggeor <[email protected]>
  • Loading branch information
zhullyb and Penggeor committed Oct 5, 2023
1 parent 2f4525f commit 564147a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/docker-env-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 564147a

Please sign in to comment.