ports/net/websocketd/patches/patch-examples_cgi-bin_README_txt

12 lines
459 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Tweak path to cgi directory for installed examples.
--- examples/cgi-bin/README.txt.orig Thu Jul 16 11:32:42 2015
+++ examples/cgi-bin/README.txt Thu Jul 16 11:32:57 2015
@@ -1,6 +1,6 @@
This examples directory shows how websocketd can also serve CGI scripts via HTTP.
-$ websocketd --port=1234 --cgidir=examples/cgi-bin
+$ websocketd --port=1234 --cgidir=${LOCALBASE}/share/examples/websocketd/cgi-bin
# Then access http://localhost:1234/dump-env.sh