diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-03-28 18:35:25 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-28 18:35:25 +0100 |
commit | ce7d055d3cc7927a597c8bb56b45f8e0aae91319 (patch) | |
tree | 4ba415e02d601654867889da11391b509909635d /app/lib/proof_provider/keybase.rb | |
parent | bb316faffff7a76bc89f7e942233f0e14caf60f5 (diff) | |
parent | 58667072d9923b17c90543550294aa9f801103d7 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib/proof_provider/keybase.rb')
-rw-r--r-- | app/lib/proof_provider/keybase.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/proof_provider/keybase.rb b/app/lib/proof_provider/keybase.rb index 96322a265..672e1cb4b 100644 --- a/app/lib/proof_provider/keybase.rb +++ b/app/lib/proof_provider/keybase.rb @@ -1,7 +1,8 @@ # frozen_string_literal: true class ProofProvider::Keybase - BASE_URL = 'https://keybase.io' + BASE_URL = ENV.fetch('KEYBASE_BASE_URL', 'https://keybase.io') + DOMAIN = ENV.fetch('KEYBASE_DOMAIN', Rails.configuration.x.local_domain) class Error < StandardError; end |