summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.go b/server.go
index 731f326..384b164 100644
--- a/server.go
+++ b/server.go
@@ -7,6 +7,7 @@ import (
"bytes"
"fmt"
"html/template"
+ "log"
"strings"
libhttp "github.com/shuLhan/share/lib/http"
@@ -120,7 +121,7 @@ func (srv *server) start() (err error) {
}
}
- fmt.Printf("ciigo: starting HTTP server at http://%s for %q\n",
+ log.Printf(`ciigo: starting HTTP server at http://%s for %q`,
srv.http.Options.Address, srv.http.Options.Memfs.Opts.Root)
err = srv.http.Start()