Skip to content

Commit

Permalink
print out version on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Aug 11, 2021
1 parent c0e518f commit e877f7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,8 @@ func (s *StaticServer) getServer() (*http.Server, error) {
// Run starts the server.
func (s *StaticServer) Run() error {
if s.Config.Log {
log.Printf(
"Starting %s server on %s, serving path %s",
strings.ToUpper(s.Scheme()), s.Config.Addr, s.Config.Dir)
log.Printf("Starting %v %s server on %s, serving path %s",
version.App, strings.ToUpper(s.Scheme()), s.Config.Addr, s.Config.Dir)
}

return s.runServer()
Expand Down

0 comments on commit e877f7d

Please sign in to comment.