diff options
Diffstat (limited to 'contrib/cgi/cgi_test.go')
-rw-r--r-- | contrib/cgi/cgi_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cgi/cgi_test.go b/contrib/cgi/cgi_test.go index ff2c45d..5469fc8 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("/cgi-bin", "./testdata") + 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) |