Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ygcaicn committed Jan 21, 2021
1 parent 488d1b7 commit 86e5be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ "$AppName" = "no" ]; then
echo "不生成分享链接"
else
[ ! -d /wwwroot/${Share_Path} ] && mkdir /wwwroot/${Share_Path}
path=$(echo -n "${V2_Path}" | sed -e 's/\//%2F/g' -e 's/=/%3D/g' -e 's/;/%3B/g')
path=$(echo -n "${Xray_Path}" | sed -e 's/\//%2F/g' -e 's/=/%3D/g' -e 's/;/%3B/g')
link="vless://${UUID}@${AppName}.herokuapp.com:443?path=${path}&security=tls&encryption=none&type=ws#${AppName}-herokuapp"
echo -n "${link}" | tr -d '\n' > /wwwroot/${Share_Path}/index.html
echo -n "${link}" | qrencode -s 6 -o /wwwroot/${Share_Path}/vless.png
Expand Down

0 comments on commit 86e5be9

Please sign in to comment.