From 04449ed66e4272ee08bc1dd00f6bdefb2be51a43 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 10 Oct 2023 14:47:54 -0600 Subject: support an overridden "cmd" for CGIs --- contrib/cgi/cgi_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/cgi/cgi_test.go') 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) -- cgit v1.2.3