Skip to content

Commit

Permalink
remove cdn from getting cert
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 25, 2024
1 parent 90388fd commit ce17288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acme.sh/run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
source ../common/utils.sh
source ./cert_utils.sh

domains=$(cat ../current.json | jq -r '.domains[] | select(.mode | IN("direct", "cdn", "worker", "relay", "auto_cdn_ip", "old_xtls_direct", "sub_link_only")) | .domain')
# domains=$(cat ../current.json | jq -r '.domains[] | select(.mode | IN("direct", "cdn", "worker", "relay", "auto_cdn_ip", "old_xtls_direct", "sub_link_only")) | .domain')
domains=$(cat ../current.json | jq -r '.domains[] | select(.mode | IN("direct", "relay", "old_xtls_direct", "sub_link_only")) | .domain')

for d in $domains; do
get_cert $d
Expand Down

0 comments on commit ce17288

Please sign in to comment.