From 10e38c5c5bda768cd4e644680c1bdcf13f4fbaa2 Mon Sep 17 00:00:00 2001 From: Forrest Date: Mon, 26 Mar 2018 19:02:30 +0000 Subject: [PATCH] Added http:// to server address in log to make it clickable (#994) * Added http:// to server address to make it clickable * 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 0ef2ac047..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 %s", a.Options.Addr) + logrus.Infof("Starting application at %s", a.Options.Host) server := http.Server{ Handler: a, }