summaryrefslogtreecommitdiff
path: root/examples/cowsay/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cowsay/main.go')
-rw-r--r--examples/cowsay/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cowsay/main.go b/examples/cowsay/main.go
index b239019..4a3f980 100644
--- a/examples/cowsay/main.go
+++ b/examples/cowsay/main.go
@@ -29,7 +29,7 @@ func main() {
handler := logging.LogRequests(infoLog)(cowsayHandler)
// run the server
- server, err := gemini.NewServer(context.Background(), errLog, tlsconf, "tcp4", ":1965", handler)
+ server, err := gemini.NewServer(context.Background(), "localhost", "tcp4", ":1965", handler, errLog, tlsconf)
if err != nil {
log.Fatal(err)
}