From d616fc2e4d39d1e59985ec8a518124b436025c7a Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Wed, 4 Dec 2024 01:06:58 +0100 Subject: [PATCH] Make `Application#scheme` a public method --- src/grip/application.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grip/application.cr b/src/grip/application.cr index 48716b8..cba4e3d 100644 --- a/src/grip/application.cr +++ b/src/grip/application.cr @@ -78,7 +78,7 @@ module Grip end {% end %} - protected def scheme : String + def scheme : String ssl ? "https" : "http" end