Skip to content

Commit

Permalink
use https download link
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Nov 2, 2024
1 parent 9724112 commit fca4805
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion btn-deploy/oracle/cloud-config.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ packages:

runcmd:
- cd /opt
- bash -c "export CREATE_EASYSETUP_LINK="true"; curl i.hiddify.com/release|bash -s -- --no-gui"
- bash -c "export CREATE_EASYSETUP_LINK="true"; curl https://i.hiddify.com/release|bash -s -- --no-gui"

final_message: "The system is finally up, after $UPTIME seconds"
output: { all: "| tee -a /root/cloud-init-output.log" }
2 changes: 1 addition & 1 deletion common/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "$0 input params are $@"
if [[ " $@ " != *"--no-gui"* ]] && [[ "$0" == "bash" ]]; then
echo "This script is deprecated! Please use the following command"
echo ""
echo "bash <(curl i.hiddify.com/$1)"
echo "bash <(curl https://i.hiddify.com/$1)"
echo ""
exit 1
fi
Expand Down
4 changes: 2 additions & 2 deletions operations/lxd/setup_lxc_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ setup_container() {
lxc exec $LXC_CONTAINER_NAME -- apt-get install -y apt-transport-https ca-certificates curl wget gnupg-agent software-properties-common git jq

if [ $DEBUG -eq 1 ]; then
lxc exec $LXC_CONTAINER_NAME -- bash -x -c "cd /opt && export CREATE_EASYSETUP_LINK='true'; sleep 5; curl i.hiddify.com/release|bash -x -s -- --no-gui; exit 0"
lxc exec $LXC_CONTAINER_NAME -- bash -x -c "cd /opt && export CREATE_EASYSETUP_LINK='true'; sleep 5; curl https://i.hiddify.com/release|bash -x -s -- --no-gui; exit 0"
else
lxc exec $LXC_CONTAINER_NAME -- bash -c "cd /opt && export CREATE_EASYSETUP_LINK='true'; sleep 5;curl i.hiddify.com/release|bash -s -- --no-gui; exit 0"
lxc exec $LXC_CONTAINER_NAME -- bash -c "cd /opt && export CREATE_EASYSETUP_LINK='true'; sleep 5;curl https://i.hiddify.com/release|bash -s -- --no-gui; exit 0"
fi
else
echo -e "Container $LXC_CONTAINER_NAME already exists.\n"
Expand Down
2 changes: 1 addition & 1 deletion other/deprecated/ss-azure-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"autoUpgradeMinorVersion": true,
"settings": {
"fileUris": [],
"commandToExecute": "export CREATE_EASYSETUP_LINK='true'; curl i.hiddify.com/release|bash -s -- --no-gui"
"commandToExecute": "export CREATE_EASYSETUP_LINK='true'; curl https://i.hiddify.com/release|bash -s -- --no-gui"
}
}
},
Expand Down

0 comments on commit fca4805

Please sign in to comment.