about summary refs log tree commit diff stats
path: root/serve
diff options
context:
space:
mode:
Diffstat (limited to 'serve')
-rw-r--r--serve/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/serve/main.go b/serve/main.go
index 9378de1..5c68cc5 100644
--- a/serve/main.go
+++ b/serve/main.go
@@ -4,6 +4,7 @@ import (
 	"fmt"
 	"log"
 	"log/slog"
+	"net/url"
 	"os"
 	"os/signal"
 	"sync"
@@ -56,7 +57,8 @@ func main() {
 		sErr <- sv.Start()
 	}()
 	if !runtimeConfig.InDevServer {
-		log.Printf("server listening on %s", sv.Addr)
+		url, _ := url.Parse("http://" + sv.Addr)
+		log.Printf("server listening on %s", url.String())
 	}
 
 	err = <-sErr