summaryrefslogtreecommitdiff
path: root/examples/cgi/main.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-10-10 14:47:54 -0600
committertjpcc <tjp@ctrl-c.club>2023-10-10 14:47:54 -0600
commit04449ed66e4272ee08bc1dd00f6bdefb2be51a43 (patch)
tree665ce77a841144bd9b70becba7e541f187867406 /examples/cgi/main.go
parentd467d044798f61b34684e885cf5b1544c3fb2ee2 (diff)
support an overridden "cmd" for CGIs
Diffstat (limited to 'examples/cgi/main.go')
-rw-r--r--examples/cgi/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cgi/main.go b/examples/cgi/main.go
index 587c874..3443761 100644
--- a/examples/cgi/main.go
+++ b/examples/cgi/main.go
@@ -24,7 +24,7 @@ func main() {
}
// make use of a CGI request handler
- cgiHandler := cgi.GeminiCGIDirectory("./cgi-bin", "/cgi-bin")
+ cgiHandler := cgi.GeminiCGIDirectory("./cgi-bin", "/cgi-bin", "")
baseLog := logging.Base()