m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curling.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/curling.rb b/curling.rb
index 375ce27..59c67db 100644
--- a/curling.rb
+++ b/curling.rb
@@ -7,6 +7,10 @@ def secret
ENV['HEX_SECRET'] || 'tajny_token_hehe'
end
+before do
+ headers 'Content-Type' => 'text/plain'
+end
+
get '/' do
<<~MSG
Welcome to Hex Curler!