Update start.sh

This commit is contained in:
shiva yadav 2023-04-14 14:04:53 -07:00 committed by GitHub
parent 70a3d6a9d5
commit 9a3e4c0ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ fi
read -p "Enter your bot token: " token read -p "Enter your bot token: " token
read -p "Enter your chat ID: " id read -p "Enter your chat ID: " id
sed -i "s/const token = 'your token here'/const token = '$token'/g" server.js sed -i "s/const token = 'your token here'/const token = '$token'/g" index.js
sed -i "s/const id = 'chat id here'/const id = '$id'/g" server.js sed -i "s/const id = 'chat id here'/const id = '$id'/g" index.js
echo "Server uploaded successfully! Now open new tab and follow rest instructions" echo "Server uploaded successfully! Now open new tab and follow rest instructions"
node server.js node server.js