Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Added http:// to server address in log to make it clickable (#994)
Browse files Browse the repository at this point in the history
* Added http:// to server address to make it clickable

* Updated previous change to use Options.Host which provides formatted URL
  • Loading branch information
forrest321 authored and markbates committed Mar 26, 2018
1 parent bc11ab0 commit 10e38c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 10e38c5

Please sign in to comment.