Update app.go (#24)

Reformat server listening log message so user could click from terminal or ide
This commit is contained in:
Kevin Lewin 2024-10-18 18:29:59 -04:00 committed by GitHub
parent 0ccd236307
commit a7110576d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,7 +182,7 @@ func (app *App) start() {
}
port := ":3000"
slog.Info(fmt.Sprintf("Server started on port %s", port))
slog.Info(fmt.Sprintf("Server started at localhost:%s", port))
err := http.ListenAndServe(port, app.Router)
if err != nil {