Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ygcaicn committed Feb 6, 2023
1 parent fd5b90e commit 1067ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ <h2>Vmess</h2>
<script>

var Vless_UUID = "${_Vless_UUID}";
var Vless_Path = "${_Vless_Path}?ed=2048";
var Vless_Path = "${_Vless_Path}";
var Vmess_UUID = "${_Vmess_UUID}";
var Vmess_Path = "${_Vmess_Path}?ed=2048";
var Vmess_Path = "${_Vmess_Path}";

var Vless_link = `vless://${Vless_UUID}@${location.hostname}:443?path=${encodeURIComponent(Vless_Path)}&security=tls&encryption=none&type=ws#Vless`
document.querySelector("#vless code").textContent = Vless_link;
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo /raybin/config.json
cat /raybin/config.json

if [[ -z "${ProxySite}" ]]; then
s="s/#ProxySite/#no ProxySite/g"
s="s|#ProxySite|#no ProxySite|g"
echo "site:use local wwwroot html"
else
s="s|#ProxySite|proxy_pass https://${ProxySite};|g"
Expand Down

0 comments on commit 1067ff0

Please sign in to comment.