Update serv00keep.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-02-11 13:47:20 +08:00
committed by GitHub
parent 6746e0ae18
commit 1364e597e3
+2 -2
View File
@@ -278,8 +278,8 @@ openssl ecparam -genkey -name prime256v1 -out "private.key"
openssl req -new -x509 -days 3650 -key "private.key" -out "cert.pem" -subj "/CN=$USERNAME.serv00.net"
nb=$(hostname | cut -d '.' -f 1 | tr -d 's')
if [ "$nb" == "14" ] || [ "$nb" == "15" ]; then
ytb='"jnn-pa.googleapis.com",'
if [[ "$nb" =~ (14|15|16) ]]; then
ytb='"jnn-pa.googleapis.com","gemini.google.com",'
fi
hy1p=$(sed -n '1p' hy2ip.txt)
hy2p=$(sed -n '2p' hy2ip.txt)