Skip to content

Commit

Permalink
Merge pull request #74 from Sija/patch-3
Browse files Browse the repository at this point in the history
Fix typo: `schema` -> `scheme`
  • Loading branch information
grkek authored Dec 3, 2024
2 parents e993efb + c74c0bb commit 1a15f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grip/application.cr
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module Grip
end
{% end %}

protected def schema : String
protected def scheme : String
ssl ? "https" : "http"
end

Expand All @@ -97,7 +97,7 @@ module Grip
{% end %}
end

Log.info { "Listening at #{schema}://#{host}:#{port}" }
Log.info { "Listening at #{scheme}://#{host}:#{port}" }

if @environment != "test"
{% begin %}
Expand Down

0 comments on commit 1a15f46

Please sign in to comment.