summaryrefslogtreecommitdiff
path: root/examples/gopher_fileserver
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gopher_fileserver')
-rw-r--r--examples/gopher_fileserver/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gopher_fileserver/main.go b/examples/gopher_fileserver/main.go
index 057aa21..1cb7495 100644
--- a/examples/gopher_fileserver/main.go
+++ b/examples/gopher_fileserver/main.go
@@ -13,10 +13,10 @@ import (
func main() {
handler := sr.FallthroughHandler(
- fs.GopherDirectoryDefault(".", nil),
- fs.GopherDirectoryListing(".", nil),
+ fs.GopherDirectoryDefault(".", "", nil),
+ fs.GopherDirectoryListing(".", "", nil),
cgi.GopherCGIDirectory("/cgi-bin", "./cgi-bin", nil),
- fs.GopherFileHandler(".", nil),
+ fs.GopherFileHandler(".", "", nil),
)
_, infoLog, _, errLog := logging.DefaultLoggers()