From 474a28663f2871c91ea758c1fa4e0cf9bc7326a5 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 10 Jan 2023 17:22:13 -0700 Subject: CGI improvements --- examples/cgi/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/cgi/main.go') diff --git a/examples/cgi/main.go b/examples/cgi/main.go index e784876..d1df220 100644 --- a/examples/cgi/main.go +++ b/examples/cgi/main.go @@ -21,7 +21,7 @@ func main() { } // make use of a CGI request handler - cgiHandler := cgi.CGIHandler("/cgi-bin", "cgi-bin") + cgiHandler := cgi.CGIDirectory("/cgi-bin", "./cgi-bin") // add stdout logging to the request handler handler := guslog.Requests(os.Stdout, nil)(cgiHandler) -- cgit v1.2.3