From e1df21775de0c184e70830fb2c2c211c8fc589d3 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 28 Feb 2024 22:09:02 +0800 Subject: [PATCH] update --- bin/gen_key_and_update_key.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_key_and_update_key.sh b/bin/gen_key_and_update_key.sh index 391e7a0..333f57b 100644 --- a/bin/gen_key_and_update_key.sh +++ b/bin/gen_key_and_update_key.sh @@ -4,7 +4,7 @@ xray x25519 > ../conf/key.txt echo "success save keys to key.txt" -private_key=$(grep "Public key" ../conf/key.txt | awk -F ': ' '{print $2}') +private_key=$(grep "Private key" ../conf/key.txt | awk -F ': ' '{print $2}') # # update config.json jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json