Update app.go (#24)
Reformat server listening log message so user could click from terminal or ide
This commit is contained in:
parent
0ccd236307
commit
a7110576d2
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ func (app *App) start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
port := ":3000"
|
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)
|
err := http.ListenAndServe(port, app.Router)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue