This commit is contained in:
root
2024-02-28 14:05:08 +00:00
parent cf61ead0ab
commit f4ee8e5f9d
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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 "Public 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