summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cgi/main.go2
-rw-r--r--examples/gopher_fileserver/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cgi/main.go b/examples/cgi/main.go
index 587c874..3443761 100644
--- a/examples/cgi/main.go
+++ b/examples/cgi/main.go
@@ -24,7 +24,7 @@ func main() {
}
// make use of a CGI request handler
- cgiHandler := cgi.GeminiCGIDirectory("./cgi-bin", "/cgi-bin")
+ cgiHandler := cgi.GeminiCGIDirectory("./cgi-bin", "/cgi-bin", "")
baseLog := logging.Base()
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),
)