Use secret_key_base from env

This commit is contained in:
Pranav Raj Sreepuram 2019-08-15 23:08:36 +05:30
parent 2a34255e0b
commit bacad2a4b3
3 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View file

@ -24,3 +24,5 @@ config/database.yml
*.log
# Ignore application configuration
node_modules
*.rdb

View file

@ -13,5 +13,5 @@ inactive:
free:
name: 'Free'
price: 0
trial_period: 14
trial_period: 365
default_pricing_version: 'v1'

View file

@ -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"] %>