diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-10-10 14:47:54 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-10-10 14:47:54 -0600 |
commit | 04449ed66e4272ee08bc1dd00f6bdefb2be51a43 (patch) | |
tree | 665ce77a841144bd9b70becba7e541f187867406 /examples/gopher_fileserver | |
parent | d467d044798f61b34684e885cf5b1544c3fb2ee2 (diff) |
support an overridden "cmd" for CGIs
Diffstat (limited to 'examples/gopher_fileserver')
-rw-r--r-- | examples/gopher_fileserver/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), ) |