Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftCreatR committed Sep 18, 2020
1 parent 882418e commit f9d191f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions warp-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# for Cloudflare WARP. #
# #
# Author : Sascha Greuel <[email protected]> #
# Date : 2020-09-18 19:47 #
# Date : 2020-09-18 20:24 #
# License : MIT #
# Version : 2.0.0 #
# Version : 2.0.1 #
# #
# Usage : bash warp-up.sh #
##############################################################
Expand Down Expand Up @@ -159,7 +159,7 @@ json_encode() {

if [ -f "$0" ]; then
WARP_UP_VER=$(grep -oP 'Version\s+:\s+\K([\d\.]+)' "$0")
WARP_UP_LATEST_VER=$(wget -qO- "https://1-2.dev/warp-up?uc" | grep -oP 'Version\s+:\s+\K([\d\.]+)')
WARP_UP_LATEST_VER=$(curl -sL "https://1-2.dev/warp-up?uc" | grep -oP 'Version\s+:\s+\K([\d\.]+)')
fi

##################
Expand Down

0 comments on commit f9d191f

Please sign in to comment.