Rename URI to URL

This commit is contained in:
Slava 2024-10-02 23:51:42 +03:00
parent e2d94a2bb9
commit f6e5a861f8
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

View File

@ -4,11 +4,10 @@ set -e
# Variables
key_file="eth.key"
address_file="eth.address"
uri=https://key.codex.storage
url=https://key.codex.storage
# Generate
echo "Generating private key from remote <${uri}>..."
echo "Generating private key from remote <${url}>..."
response=$(curl -s ${uri})
awk -F ': ' '/private/ {print $2}' <<<"${response}" >"${key_file}"