Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit 8943b51

Browse files
committed
fix typo; rm raw_proxy
1 parent 9319b84 commit 8943b51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/xwall.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ VERSION="2.2.1"
99
ip4_api="--ipv4 https://v4.ident.me/"
1010
ip6_api="--ipv6 https://v6.ident.me/"
1111

12-
raw_proxy="raw.staticdn.net"
1312
api_proxy="gh-api.phlin.workers.dev"
1413
gh_proxy="gh-proxy.phlin.workers.dev"
1514

@@ -130,7 +129,7 @@ build_web() {
130129
if [ ! -f "/var/www/html/index.html" ]; then
131130
# choose and copy a random template for dummy web pages
132131
local template="$(curl -sL `raw_to_jsdelivr "https://raw.githubusercontent.com/phlinhng/web-templates/master/list.txt"` | shuf -n 1)"
133-
wget -q --show-progress `raw_to_jsdelivr "https://raw.githubusercontent.com/phlinhng/web-templates/master/${template}" -O /tmp/template.zip
132+
wget -q --show-progress `raw_to_jsdelivr "https://raw.githubusercontent.com/phlinhng/web-templates/master/${template}"` -O /tmp/template.zip
134133
mkdir -p /var/www/html
135134
unzip -q /tmp/template.zip -d /var/www/html
136135
echo -ne "User-agent: *\nDisallow: /\n" > /var/www/html/robots.txt

0 commit comments

Comments
 (0)