Use secret_key_base from env
This commit is contained in:
parent
2a34255e0b
commit
bacad2a4b3
3 changed files with 5 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -24,3 +24,5 @@ config/database.yml
|
|||
*.log
|
||||
# Ignore application configuration
|
||||
node_modules
|
||||
|
||||
*.rdb
|
||||
|
|
|
@ -13,5 +13,5 @@ inactive:
|
|||
free:
|
||||
name: 'Free'
|
||||
price: 0
|
||||
trial_period: 14
|
||||
trial_period: 365
|
||||
default_pricing_version: 'v1'
|
||||
|
|
|
@ -19,7 +19,7 @@ test:
|
|||
# Do not keep production secrets in the repository,
|
||||
# instead read values from the environment.
|
||||
production:
|
||||
secret_key_base:
|
||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
||||
|
||||
staging:
|
||||
secret_key_base:
|
||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
||||
|
|
Loading…
Reference in a new issue