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 --- examples/gopher_fileserver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gopher_fileserver/main.go') diff --git a/examples/gopher_fileserver/main.go b/examples/gopher_fileserver/main.go index 9b8c33f..76718dd 100644 --- a/examples/gopher_fileserver/main.go +++ b/examples/gopher_fileserver/main.go @@ -16,7 +16,7 @@ func main() { handler := sr.FallthroughHandler( fs.GopherDirectoryDefault(".", "", nil), fs.GopherDirectoryListing(".", "", nil), - cgi.GopherCGIDirectory("/cgi-bin", "./cgi-bin", nil), + cgi.GopherCGIDirectory("/cgi-bin", "./cgi-bin", "", nil), fs.GopherFileHandler(".", "", nil), ) -- cgit v1.2.3