fix env key generation

This commit is contained in:
c9s 2022-05-05 01:33:52 +08:00
parent 4aed6c4625
commit 4358b1236c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -41,12 +41,12 @@ info "downloaded successfully"
function gen_dotenv() function gen_dotenv()
{ {
read -p "Enter your MAX API key: " api_key read -p "Enter your Binance API key: " api_key
read -p "Enter your MAX API secret: " api_secret read -p "Enter your Binance API secret: " api_secret
echo "Generating your .env.local file..." echo "Generating your .env.local file..."
cat <<END > .env.local cat <<END > .env.local
MAX_API_KEY=$api_key BINANCE_API_KEY=$api_key
MAX_API_SECRET=$api_secret BINANCE_API_SECRET=$api_secret
END END
} }