summaryrefslogtreecommitdiff
path: root/examples/inspectls
diff options
context:
space:
mode:
Diffstat (limited to 'examples/inspectls')
-rw-r--r--examples/inspectls/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/inspectls/main.go b/examples/inspectls/main.go
index 5022888..ce82f43 100644
--- a/examples/inspectls/main.go
+++ b/examples/inspectls/main.go
@@ -33,7 +33,7 @@ func main() {
handler := logging.LogRequests(infoLog)(inspectHandler)
// 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)
}