summaryrefslogtreecommitdiff
path: root/contrib/cgi/cgi_test.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 /contrib/cgi/cgi_test.go
parentd467d044798f61b34684e885cf5b1544c3fb2ee2 (diff)
support an overridden "cmd" for CGIs
Diffstat (limited to 'contrib/cgi/cgi_test.go')
-rw-r--r--contrib/cgi/cgi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cgi/cgi_test.go b/contrib/cgi/cgi_test.go
index 5469fc8..e5fb306 100644
--- a/contrib/cgi/cgi_test.go
+++ b/contrib/cgi/cgi_test.go
@@ -21,7 +21,7 @@ func TestCGIDirectory(t *testing.T) {
tlsconf, err := gemini.FileTLS("testdata/server.crt", "testdata/server.key")
require.Nil(t, err)
- handler := cgi.GeminiCGIDirectory("./testdata", "/cgi-bin")
+ handler := cgi.GeminiCGIDirectory("./testdata", "/cgi-bin", "")
server, err := gemini.NewServer(context.Background(), "localhost", "tcp", "127.0.0.1:0", handler, nil, tlsconf)
require.Nil(t, err)