depot/third_party/nixpkgs/pkgs/applications/networking/novnc/fix-paths.patch
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

22 lines
838 B
Diff

diff --git a/utils/novnc_proxy b/utils/novnc_proxy
index 0900f7e..a931763 100755
--- a/utils/novnc_proxy
+++ b/utils/novnc_proxy
@@ -22,7 +22,7 @@ usage() {
echo " Default: self.pem"
echo " --key KEY Path to key file, when not combined with cert"
echo " --web WEB Path to web files (e.g. vnc.html)"
- echo " Default: ./"
+ echo " Default: @out@/share/webapps/novnc"
echo " --ssl-only Disable non-https connections."
echo " "
echo " --record FILE Record traffic to FILE.session.js"
@@ -44,7 +44,7 @@ PORT="6080"
VNC_DEST="localhost:5900"
CERT=""
KEY=""
-WEB=""
+WEB="@out@/share/webapps/novnc"
proxy_pid=""
SSLONLY=""
RECORD_ARG=""