m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curling.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/curling.rb b/curling.rb
index a295738..1367b02 100644
--- a/curling.rb
+++ b/curling.rb
@@ -4,7 +4,7 @@ require 'sinatra/cookies'
require './hex_engine'
def secret
- 'tajny_token_hehe'
+ ENV['HEX_SECRET'] || 'tajny_token_hehe'
end
get '/:command' do |command|