diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-08-24 22:29:35 -0700 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-08-24 22:29:35 -0700 |
commit | bc019a2a9bb884020ff8195738f289527d58269d (patch) | |
tree | 40fbbdf5c20aa06834ebdcb77ad44ec5087e232d | |
parent | 056777e2745704b1e7a5fae390034a6c599bad6b (diff) |
Use secret from environment
-rw-r--r-- | curling.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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| |