From d8032267b25d0973cd925f976fd79fed1d855415 Mon Sep 17 00:00:00 2001 From: forrest321 Date: Mon, 26 Mar 2018 11:54:28 -0500 Subject: [PATCH 1/2] Added http:// to server address to make it clickable --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 0ef2ac047..b50f9fff7 100644 --- a/app.go +++ b/app.go @@ -37,7 +37,7 @@ type App struct { // interrupt and kill signals and will attempt to stop the application // gracefully. This will also start the Worker process, unless WorkerOff is enabled. func (a *App) Serve() error { - logrus.Infof("Starting application at %s", a.Options.Addr) + logrus.Infof("Starting application at http://%s", a.Options.Addr) server := http.Server{ Handler: a, } From 5da0a2f0ce9b584422cd16068cf8381b22c9b63f Mon Sep 17 00:00:00 2001 From: forrest321 Date: Mon, 26 Mar 2018 13:52:03 -0500 Subject: [PATCH 2/2] Updated previous change to use Options.Host which provides formatted URL --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index b50f9fff7..09334a270 100644 --- a/app.go +++ b/app.go @@ -37,7 +37,7 @@ type App struct { // interrupt and kill signals and will attempt to stop the application // gracefully. This will also start the Worker process, unless WorkerOff is enabled. func (a *App) Serve() error { - logrus.Infof("Starting application at http://%s", a.Options.Addr) + logrus.Infof("Starting application at %s", a.Options.Host) server := http.Server{ Handler: a, }