indicate 33102 https proxy url path

This commit is contained in:
fred 2023-05-30 18:52:53 +02:00
parent 9cad898388
commit ca41a2ddbf
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
tmp/
_images/
DICE

View File

@ -150,7 +150,7 @@ else
#####################################################################
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
isBOX=$(cat ~/.zen/♥Box)
isBOX=$(cat ~${MY_PATH}/♥Box)
## WHERE DO CLIENT WILL GET FILE
if [[ $isLAN ]]; then
@ -159,7 +159,7 @@ else
HNAME="http://$(hostname -I | awk '{print $1}' | head -n 1)"
fi
RNAME="$HNAME:33102"
[[ $isBOX ]] && RNAME="$isBOX"
[[ $isBOX != "" ]] && RNAME="$isBOX"
## AVAILABLE STYLES : CREATING SELECT
sytle=($(find ${MY_PATH}/${IMAGES}/* -type d | sort | rev | cut -d '/' -f 1 | rev))

0
♥Box Normal file
View File