Skip to content

Commit

Permalink
fix: 使用post提交防止出错
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Oct 28, 2023
1 parent 2ec4b9e commit 5ff2956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initfs/etc/wkit.d/s3-init
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

TOKEN=$(echo "$NODE_NAME;$NODE_OWNER;$NODE_REGION;$NODE_ISP;$NODE_BANNER" | base64)

wget -qO- --header="Token: $TOKEN" http://blackbox.opentdp.org/join/ | sh -
wget -qO- --post-data "$TOKEN" http://blackbox.opentdp.org/join | sh -

0 comments on commit 5ff2956

Please sign in to comment.