fix nossl
This commit is contained in:
@@ -11,9 +11,9 @@ while IFS= read -r line; do
|
|||||||
blacklist+=("$line")
|
blacklist+=("$line")
|
||||||
done < "$BASEPATH/path-blacklist.txt"
|
done < "$BASEPATH/path-blacklist.txt"
|
||||||
|
|
||||||
if $NO_SSL; then
|
if [ -n "$NO_SSL" ]; then
|
||||||
PROTO="http"
|
PROTO="http"
|
||||||
DOMAIN="0.0.0.0"
|
DOMAIN="${DOMAIN:-0.0.0.0}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
|
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ while IFS= read -r line; do
|
|||||||
blacklist+=("$line")
|
blacklist+=("$line")
|
||||||
done < "$BASEPATH/path-blacklist.txt"
|
done < "$BASEPATH/path-blacklist.txt"
|
||||||
|
|
||||||
if $NO_SSL; then
|
if [ -n "$NO_SSL" ] then
|
||||||
PROTO="http"
|
PROTO="http"
|
||||||
DOMAIN="${DOMAIN:-0.0.0.0}"
|
DOMAIN="${DOMAIN:-0.0.0.0}"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ while IFS= read -r line; do
|
|||||||
blacklist+=("$line")
|
blacklist+=("$line")
|
||||||
done < "$BASEPATH/path-blacklist.txt"
|
done < "$BASEPATH/path-blacklist.txt"
|
||||||
|
|
||||||
if $NO_SSL; then
|
if [ -n "$NO_SSL" ]; then
|
||||||
PROTO="http"
|
PROTO="http"
|
||||||
DOMAIN="${DOMAIN:-0.0.0.0}"
|
DOMAIN="${DOMAIN:-0.0.0.0}"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user