summaryrefslogtreecommitdiff
path: root/examples/cgi/main.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-01-10 17:22:13 -0700
committertjpcc <tjp@ctrl-c.club>2023-01-10 17:22:13 -0700
commit474a28663f2871c91ea758c1fa4e0cf9bc7326a5 (patch)
treea741bea4e5c94237af2e2c7e2f117e770e8635b8 /examples/cgi/main.go
parent96f3a7607ffbdb349a4c2eff35efdf11b8d35a4e (diff)
CGI improvements
Diffstat (limited to 'examples/cgi/main.go')
-rw-r--r--examples/cgi/main.go2
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)