Skip to content

Commit 48b0422

Browse files
committed
Change google.com connectivity check to minecraft
1 parent b34c5db commit 48b0422

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ See the following links:<br>
103103

104104
<h2>Update History</h2>
105105
<ul>
106+
<li>January 14th 2023</li>
107+
<ul>
108+
<li>Change connectivity check from google.com to minecraft.net to prevent blocking in some countries</li>
109+
</ul>
106110
<li>September 4th 2022</li>
107111
<ul>
108112
<li>Remove unnecessary code from fixpermissions.sh</li>

start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Rotate=$(
8989
echo "Checking for the latest version of Minecraft Bedrock server ..."
9090

9191
# Test internet connectivity first
92-
curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.$RandNum.212 Safari/537.36" -s google.com -o /dev/null
92+
curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.$RandNum.212 Safari/537.36" -s https://www.minecraft.net/ -o /dev/null
9393
if [ "$?" != 0 ]; then
9494
echo "Unable to connect to update website (internet connection may be down). Skipping update ..."
9595
else

0 commit comments

Comments
 (0)