diff options
Diffstat (limited to 'examples/cgi/main.go')
-rw-r--r-- | examples/cgi/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |