Make paths written to at runtime and secrets configurable via ENV variables
This commit is contained in:
parent
6ccd23c06a
commit
cbaed036da
3 changed files with 3 additions and 3 deletions
|
@ -35,6 +35,6 @@ module EntranceExam
|
|||
#
|
||||
# config.time_zone = "Central Time (US & Canada)"
|
||||
# config.eager_load_paths << Rails.root.join("extras")
|
||||
config.entrance_exam_token = "password"
|
||||
config.entrance_exam_token = ENV.fetch("RAILS_ENTRANCE_PASSWORD", "password")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue