mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
commands: Print language code after web server address info
This commit is contained in:
committed by
GitHub
parent
2ae4786ca1
commit
525bed9919
@@ -954,7 +954,7 @@ func (c *serverCommand) serve() error {
|
|||||||
mu.HandleFunc(u.Path+"/livereload.js", livereload.ServeJS)
|
mu.HandleFunc(u.Path+"/livereload.js", livereload.ServeJS)
|
||||||
mu.HandleFunc(u.Path+"/livereload", livereload.Handler)
|
mu.HandleFunc(u.Path+"/livereload", livereload.Handler)
|
||||||
}
|
}
|
||||||
c.r.Printf("Web Server is available at %s (bind address %s)\n", serverURL, c.serverInterface)
|
c.r.Printf("Web Server is available at %s (bind address %s) %s\n", serverURL, c.serverInterface, roots[i])
|
||||||
wg1.Go(func() error {
|
wg1.Go(func() error {
|
||||||
if c.tlsCertFile != "" && c.tlsKeyFile != "" {
|
if c.tlsCertFile != "" && c.tlsKeyFile != "" {
|
||||||
err = srv.ServeTLS(listener, c.tlsCertFile, c.tlsKeyFile)
|
err = srv.ServeTLS(listener, c.tlsCertFile, c.tlsKeyFile)
|
||||||
|
Reference in New Issue
Block a user