Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ygcaicn committed Mar 24, 2021
1 parent 3873d48 commit 079fd7f
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 @@ -72,7 +72,7 @@ if [ "$AppName" = "no" ]; then
echo "不生成分享链接"
else
[ ! -d /wwwroot/${Share_Path} ] && mkdir /wwwroot/${Share_Path}
path=$(echo -n "${Xray_Path}ed=2048" | sed -e 's/\//%2F/g' -e 's/=/%3D/g' -e 's/;/%3B/g' -e 's/?/%3F/g')
path=$(echo -n "${Xray_Path}?ed=2048" | sed -e 's/\//%2F/g' -e 's/=/%3D/g' -e 's/;/%3B/g' -e 's/\?/%3F/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
cat /wwwroot/${Share_Path}/index.html
Expand Down

0 comments on commit 079fd7f

Please sign in to comment.