2 Commits e0c671f148 ... ba4f8e0c6d

Author SHA1 Message Date
  XiupingZou ba4f8e0c6d fix get ip 2 years ago
  XiupingZou 822f0f51b5 fix get ip 2 years ago
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ccaa.sh
  2. 1 1
      docker-ccaa.sh

+ 1 - 1
ccaa.sh

@@ -177,7 +177,7 @@ function setting(){
 	fi
 	fi
 
 
 	#获取ip
 	#获取ip
-	osip=$(curl -4s https://api.ip.sb/ip)
+	osip=$(curl ipv4.ip.sb)
 	
 	
 	#执行替换操作
 	#执行替换操作
 	mkdir -p ${downpath}
 	mkdir -p ${downpath}

+ 1 - 1
docker-ccaa.sh

@@ -86,7 +86,7 @@ function setting(){
 	echo '-------------------------------------------------------------'
 	echo '-------------------------------------------------------------'
 
 
 	#获取ip
 	#获取ip
-	osip=$(curl -4s https://api.ip.sb/ip)
+	osip=$(curl ipv4.ip.sb)
 	
 	
 	#执行替换操作
 	#执行替换操作
 	downpath='/data/ccaaDown'
 	downpath='/data/ccaaDown'