Skip to content

Commit

Permalink
scripts(env): adiciona lower case na random choice
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusvrs committed Oct 17, 2023
1 parent 84364fd commit ce9156f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

cp ./api/.env.example ./api/.env

sed -i "s/your_secret_key/$(python3 -c 'import string; import random; print("".join(random.SystemRandom().choice(string.ascii_uppercase + string.digits) for _ in range(64)))')/g" ./api/.env
sed -i "s/your_secret_key/$(python3 -c 'import string; import random; print("".join(random.SystemRandom().choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in range(64)))')/g" ./api/.env

0 comments on commit ce9156f

Please sign in to comment.