Skip to content

Commit

Permalink
Remove AppServer#address helper
Browse files Browse the repository at this point in the history
  • Loading branch information
akadusei committed Jul 11, 2024
1 parent a6acc05 commit 599009a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app_server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@ class AppServer < Lucky::BaseAppServer
end

private def log_started
Lucky::Log.info { "App started. Listening at #{address}..." }
Lucky::Log.info { "App running at #{host}:#{port}" }
end

private def log_stopped
Lucky::Log.info { "App stopped" }
end

private def address
"http://#{host}:#{port}"
end

private def log_handler
LuckyEnv.production? ?
Fella::Handler.new(Lucky::Log) :
Expand Down

0 comments on commit 599009a

Please sign in to comment.